From: John L. Hammond Date: Sat, 1 Mar 2014 02:16:35 +0000 (-0500) Subject: lustre/clio: honor O_NOATIME X-Git-Tag: v3.15-rc1~139^2~766 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec9bca9c51f98cb4ad43c738f2783f4e2bba2421;p=pandora-kernel.git lustre/clio: honor O_NOATIME Add a ci_noatime bit to struct cl_io. In ll_io_init() set this bit if O_NOATIME is set in f_flags. Ensure that this bit is propagated down to lower layers. In osc_io_read_start() don't update atime if this bit is set. Add sanity test 39n to check that passing O_NOATIME to open() is honored. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/7442 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3832 Reviewed-by: Jinshan Xiong Reviewed-by: Lai Siyao Tested-by: Maloo Reviewed-by: Oleg Drokin Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed