ceph: do not release the global snaprealm until unmounting
authorXiubo Li <xiubli@redhat.com>
Wed, 23 Feb 2022 01:04:56 +0000 (09:04 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 1 Mar 2022 17:26:37 +0000 (18:26 +0100)
commit5ed91587e201c77b35a5555c8c082655bb5834fe
tree6a8155d806c6f796d436340f87bdfb4a28e2e5c1
parent1753629ea0f34900467185b7d8b0db11a64f4728
ceph: do not release the global snaprealm until unmounting

The global snaprealm would be created and then destroyed immediately
every time when updating it.

URL: https://tracker.ceph.com/issues/54362
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/snap.c
fs/ceph/super.h
include/linux/ceph/ceph_fs.h