Whamcloud - gitweb
LU-9470 osc: update timestamps on write only 48/27348/3
authorNiu Yawei <yawei.niu@intel.com>
Wed, 31 May 2017 07:51:26 +0000 (03:51 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:59:52 +0000 (03:59 +0000)
commit385c955d968c03acfa3d664764087def07a3e92c
tree27daa7aa3ab2d13db925a4eb5912352c0990db10
parente5b704eb23b859ad53bfd64538b346b4d40b23cb
LU-9470 osc: update timestamps on write only

In osc_io_submit(), we should only update timestamps on write.

Test-parameters: testlist=sanityn.sh,sanityn.sh,sanityn.sh,sanityn.sh,sanityn.sh,sanityn.sh
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I56ed4c499f3b438018ff5b4cd29d7e84f72e04a6
Reviewed-on: https://review.whamcloud.com/27348
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_io.c