diff options
author | 2021-03-23 15:16:52 -0400 | |
---|---|---|
committer | 2021-04-27 23:52:23 +0200 | |
commit | 379fc7fad0ae6ed5ceefd39b8a7a37e83a63c25e (patch) | |
tree | 30da2f83e21b62789377f3d1aaa83c0997c668e1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ceph: don't use d_add in ceph_handle_snapdir (diff) | |
download | wireguard-linux-379fc7fad0ae6ed5ceefd39b8a7a37e83a63c25e.tar.xz wireguard-linux-379fc7fad0ae6ed5ceefd39b8a7a37e83a63c25e.zip |
ceph: use attach/detach_page_private for tracking snap context
There is some ambiguity around the use of PagePrivate. It's
generally expected in core code that if PagePrivate is set then
you have a reference to it. It's not clear that ceph always
does (and I believe it may not).
Change ceph to use attach/detach_page_private so that we keep a
reference to the page until the snap context is detached.
Link: https://lore.kernel.org/ceph-devel/2503810.1616508988@warthog.procyon.org.uk/T/#mf29e5abbb0ec8035cde0de30778690de7d956f84
Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
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