]> git.baikalelectronics.ru Git - kernel.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)
commitc82a054e295c7cfb996692e21d9059488da6aeea
treebf777bf20b50e8904de6be0f63f452b4246a9909
parentdea56bd82da801afc00e8121535fff11cc287c65
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