]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: clio: sync write should update mtime
authorNiu Yawei <yawei.niu@intel.com>
Sun, 29 Jan 2017 00:04:59 +0000 (19:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 12:01:37 +0000 (13:01 +0100)
commit575b1d923f5a782e2c3552d4aa2e55a46e4216b0
treeaed150a56eb6010a320097a1f8b4a6ff86e558a4
parent394a80264bf9ac58ddc364798948c1dcf3e757f0
staging: lustre: clio: sync write should update mtime

Sync write should update m/ctime promptly, otherwise, stale m/ctime
could be updated on the OST object by the sync write RPC.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7310
Reviewed-on: http://review.whamcloud.com/21063
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_io.c