Whamcloud - gitweb
LU-13383 ofd: lazy atime update 24/38024/21
authorAlex Zhuravlev <bzzz@whamcloud.com>
Tue, 31 Mar 2020 08:06:03 +0000 (11:06 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:10:42 +0000 (08:10 +0000)
commit7c9ce8aac9e80a3819c4a3a075180efcf8c29353
tree16ef09f4d2312cd662187c2c8732316f838b7bcd
parent851ba18ee0424a3a4bf27d54d0c1af20eaf04ed6
LU-13383 ofd: lazy atime update

OST_BRW_WRITE updates atime both in memory and on-disk
OST_BRW_READ updates atime in memory and once difference
exceeds delay (obdfilter.*.atime_delay seconds) - it's
updated on-disk.

Test-Parameters: testlist=sanity env=ONLY=39r,ONLY_REPEAT=100
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ibe49882ec6f1984f9cf6a32f6ee9fef579ed2a03
Reviewed-on: https://review.whamcloud.com/38024
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/vvp_object.c
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_io.c
lustre/ofd/ofd_lvb.c
lustre/osc/osc_object.c
lustre/tests/sanity.sh