diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-02-23 04:04:56 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-03-01 20:26:37 +0300 |
commit | 5ed91587e201c77b35a5555c8c082655bb5834fe (patch) | |
tree | 6a8155d806c6f796d436340f87bdfb4a28e2e5c1 /include/linux/ceph | |
parent | 1753629ea0f34900467185b7d8b0db11a64f4728 (diff) | |
download | linux-5ed91587e201c77b35a5555c8c082655bb5834fe.tar.xz |
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>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/ceph_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h index f14f9bc290e6..86bf82dbd8b8 100644 --- a/include/linux/ceph/ceph_fs.h +++ b/include/linux/ceph/ceph_fs.h @@ -28,7 +28,8 @@ #define CEPH_INO_ROOT 1 -#define CEPH_INO_CEPH 2 /* hidden .ceph dir */ +#define CEPH_INO_CEPH 2 /* hidden .ceph dir */ +#define CEPH_INO_GLOBAL_SNAPREALM 3 /* global dummy snaprealm */ /* arbitrary limit on max # of monitors (cluster of 3 is typical) */ #define CEPH_MAX_MON 31 |