Skip to content

orangefs: misc attribute fixes

Martin Brandenburg linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5orangefs: open code short single-use functionsfs/orangefs/file.c+19 -760 replies
2/5orangefs: implement vm_ops->faultfs/orangefs/file.c+25 -20 replies
3/5orangefs: do not invalidate attributes on inode createfs/orangefs/inode.c fs/orangefs/namei.c+0 -120 replies
4/5orangefs: do not invalidate attribute cache on setattrfs/orangefs/orangefs-utils.c+0 -40 replies
5/5orangefs: reverse sense of revalidate is-inode-stale testfs/orangefs/dcache.c+7 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] orangefs: misc attribute fixes

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(-)
Signature · 1 line
2.15.0