Whamcloud - gitweb
LU-3831 llite: Remove touch_atime() call in ll_readdir() 64/8664/4
authorSwapnil Pimpale <spimpale@ddn.com>
Thu, 26 Dec 2013 10:37:43 +0000 (16:07 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 1 Mar 2014 02:22:21 +0000 (02:22 +0000)
commit93d1c2d39fd9bf5eedf577a3667dff2618efba8f
treea92628d0f41be0cb7b51ffa9581230ea4913e7d1
parent289d11769bde4d5b427a8d28f6a86b9492aed0b3
LU-3831 llite: Remove touch_atime() call in ll_readdir()

In 2.6.32 vfs_readdir() calls file_accessed() which checks for
O_NOATIME and calls touch_atime() appropriately. In 3.11, the same is
true of iterate_dir(). Hence removed the call to touch_atime() in
ll_readdir(). Also, removed the HAVE_TOUCH_ATIME_1ARG and
HAVE_F_PATH_MNT autocrud since ll_readdir() was the last caller of
touch_atime() in the lustre tree.

Signed-off-by: Swapnil Pimpale <spimpale@ddn.com>
Change-Id: Iedd3be29adae80427d71a7eb5a0f8c0d1f1d2924
Reviewed-on: http://review.whamcloud.com/8664
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/llite/dir.c