Whamcloud - gitweb
LU-7310 clio: sync write should update mtime 63/21063/6
authorNiu Yawei <yawei.niu@intel.com>
Wed, 29 Jun 2016 12:57:22 +0000 (08:57 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 13 Sep 2016 20:03:48 +0000 (20:03 +0000)
commite130c75827b2f40d89cb69ac5c64bb94d67c520c
treea9056a9b780c01ca4b11639b1c8acb9a54e946d9
parent107c1d022ffd976b4a335f794de731cf9d57a514
LU-7310 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.

Added sanityn test_39d to verify this.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I9c7e1d75f610a3104c163df9d68c33442d8fe3f4
Reviewed-on: http://review.whamcloud.com/21063
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_io.c
lustre/tests/sanityn.sh