[PATCH 0/5] orangefs: misc attribute fixes

From: Martin Brandenburg
Date: Tue Nov 28 2017 - 15:22:44 EST


Mike,

Here's a few fixes for OrangeFS.

Most important is to run getattr for size during a mmap page fault.

I have also found a bug in d_revalidate. The test is backwards.
However I haven't found a test that demonstrates that it is wrong, which
makes me doubt that all the code here is completely optimal.

The others are supposed to improve performance but appear to be below
the noise floor.

Martin Brandenburg (5):
orangefs: open code short single-use functions
orangefs: implement vm_ops->fault
orangefs: do not invalidate attributes on inode create
orangefs: do not invalidate attribute cache on setattr
orangefs: reverse sense of revalidate is-inode-stale test

fs/orangefs/dcache.c | 17 +++---
fs/orangefs/file.c | 122 ++++++++++++++++---------------------------
fs/orangefs/inode.c | 6 ---
fs/orangefs/namei.c | 6 ---
fs/orangefs/orangefs-utils.c | 4 --
5 files changed, 51 insertions(+), 104 deletions(-)

--
2.15.0