]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make the lost+found dir accessible from clients 40782/head
authorXiubo Li <xiubli@redhat.com>
Mon, 19 Apr 2021 02:34:02 +0000 (10:34 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 16 Jun 2021 10:14:00 +0000 (12:14 +0200)
commit75663826b1c1b1078541590244a898b5359bc00f
tree38eba7d4ad69db8c349a976f3a278d504d85e145
parentf78a4d1e017189db53083ac8c28568b5a9f58996
mds: make the lost+found dir accessible from clients

Inode number 0x4 is reserved for the lost+found dir, and the apps
or recovery apps need to access it.

At the same time the 0x3 is reserved for the global snaprealm, which
will also be lookup by the clients when looking up the snaprealm inodes.

Here will make all the inode less than 100 accessible by clients.

Fixes: https://tracker.ceph.com/issues/50216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 841071b3602aa2b8bcca57b95cdf671d48036a34)

Conflicts:
src/mds/Server.cc
- most of the master commit was already backported via
  c5362b8464bdafbea7556acdee9e877b71ed4f8d
  This backports just one small part that was missed in that commit.
src/mds/Server.cc