]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: switch to use projected inode instead
authorXiubo Li <xiubli@redhat.com>
Mon, 13 Jun 2022 09:28:00 +0000 (17:28 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 14 Jun 2022 08:54:36 +0000 (16:54 +0800)
commit9e0b3518cbe60d9686eb309135f7eb0383b7bb98
treec31095555378b250b2176cc298b20b12751851a5
parent26673146217b7ff3a41efa48b08f165eb27b8472
mds: switch to use projected inode instead

When the client send a sync request to MDS even the client has the
Xx caps, for example, the MDS will revoke the Xx caps back and journal
new changes.

If the client try to create a sub-directory the MDS was always using
the non-projected inode of parent to inherit the gid/uid/mode metadatas,
if the journal log still haven't been flushed and applied yet, it will
always get the old metadatas.

Fixes: https://tracker.ceph.com/issues/56010
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/Server.cc