diff options
author | 2021-01-26 11:49:54 -0500 | |
---|---|---|
committer | 2021-04-27 23:52:23 +0200 | |
commit | e9b2250156c381b0973ea6ec3890fe8706426ecc (patch) | |
tree | 56bf404e8d2b95ee2a6b59638ffb26fb1c615c72 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ceph: send opened files/pinned caps/opened inodes metrics to MDS daemon (diff) | |
download | wireguard-linux-e9b2250156c381b0973ea6ec3890fe8706426ecc.tar.xz wireguard-linux-e9b2250156c381b0973ea6ec3890fe8706426ecc.zip |
ceph: only check pool permissions for regular files
There is no need to do a ceph_pool_perm_check() on anything that isn't a
regular file, as the MDS is what handles talking to the OSD in those
cases. Just return 0 if it's not a regular file.
Reported-by: Luis Henriques <lhenriques@suse.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions