diff options
author | 2020-08-05 14:50:48 -0400 | |
---|---|---|
committer | 2023-08-22 09:01:48 +0200 | |
commit | 4c793d4c58b7e57e1eb616e3d032df6b3789a4a3 (patch) | |
tree | 9b5f56b8164ce25ecec56bc24ffdfdfa49b9790f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ceph: preallocate inode for ops that may create one (diff) | |
download | wireguard-linux-4c793d4c58b7e57e1eb616e3d032df6b3789a4a3.tar.xz wireguard-linux-4c793d4c58b7e57e1eb616e3d032df6b3789a4a3.zip |
ceph: make ceph_msdc_build_path use ref-walk
Encryption potentially requires allocation, at which point we'll need to
be in a non-atomic context. Convert ceph_msdc_build_path to take dentry
spinlocks and references instead of using rcu_read_lock to walk the
path.
This is slightly less efficient, and we may want to eventually allow
using RCU when the leaf dentry isn't encrypted.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@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