diff options
author | Martin Brandenburg <martin@omnibond.com> | 2017-12-12 19:46:30 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 20:32:37 +0200 |
commit | fc2e2e9c43e3b3f5dec8a02b17ee3d6343d9783a (patch) | |
tree | 9a2b34f3f93eac859d2caad075f6dec85205736f /ipc/compat.c | |
parent | Linux 5.1-rc7 (diff) | |
download | linux-fc2e2e9c43e3b3f5dec8a02b17ee3d6343d9783a.tar.xz linux-fc2e2e9c43e3b3f5dec8a02b17ee3d6343d9783a.zip |
orangefs: implement xattr cache
This uses the same timeout as the getattr cache. This substantially
increases performance when writing files with smaller buffer sizes.
When writing, the size is (often) changed, which causes a call to
notify_change which calls security_inode_need_killpriv which needs a
getxattr. Caching it reduces traffic to the server.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions