]> asedeno.scripts.mit.edu Git - linux.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)
commit553ed75d85123179b04ea89dfb4a3f41bcf38e9e
treeaed150a56eb6010a320097a1f8b4a6ff86e558a4
parentc843ce20125d75663300baffd69692468d5c7d9f
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