aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-08-18 22:08:24 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-08-18 22:08:24 +0200
commit332f606b32b6291a944c8cf23b91f53a6e676525 (patch)
treec3a46cae0901eec40dd900a9a64c8ad1e51647ba /fs/f2fs
parentvfs: add rcu argument to ->get_acl() callback (diff)
downloadlinux-dev-332f606b32b6291a944c8cf23b91f53a6e676525.tar.xz
linux-dev-332f606b32b6291a944c8cf23b91f53a6e676525.zip
ovl: enable RCU'd ->get_acl()
Overlayfs does not cache ACL's (to avoid double caching). Instead it just calls the underlying filesystem's i_op->get_acl(), which will return the cached value, if possible. In rcu path walk, however, get_cached_acl_rcu() is employed to get the value from the cache, which will fail on overlayfs resulting in dropping out of rcu walk mode. This can result in a big performance hit in certain situations. Fix by calling ->get_acl() with rcu=true in case of ACL_DONT_CACHE (which indicates pass-through) Reported-by: garyhuang <zjh.20052005@163.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions