]> asedeno.scripts.mit.edu Git - linux.git/commit
orangefs: add orangefs_revalidate_mapping
authorMartin Brandenburg <martin@omnibond.com>
Tue, 12 Feb 2019 20:19:06 +0000 (20:19 +0000)
committerMike Marshall <hubcap@omnibond.com>
Fri, 3 May 2019 18:32:39 +0000 (14:32 -0400)
commit8f04e1be784858ba0288c7c09b9de06627a800c9
treebf777bf20b50e8904de6be0f63f452b4246a9909
parentc472ebc25555e634d89e1ed508d37c9102bff017
orangefs: add orangefs_revalidate_mapping

This is modeled after NFS, except our method is different.  We use a
simple timer to determine whether to invalidate the page cache.  This
is bound to perform.

This addes a sysfs parameter cache_timeout_msecs which controls the time
between page cache invalidations.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c
fs/orangefs/inode.c
fs/orangefs/orangefs-kernel.h
fs/orangefs/orangefs-mod.c
fs/orangefs/orangefs-sysfs.c