]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use inodeno_t to track quiesce requests
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 7 Mar 2024 19:40:58 +0000 (14:40 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Mar 2024 15:38:03 +0000 (11:38 -0400)
commit7932d971ef459b823f07a9f6bb2c4e2d9482c53d
tree03b147161b87ffb9832f2c71f73a52506987bb7e
parent45c18be188a7caf573d4fe5b1dbb685202eac239
mds: use inodeno_t to track quiesce requests

If a CInode is removed from cache before the quiesce_inode request can process
it (and pin it in cache), a new CInode may be created with the same address.
That pointer still exists in MutationImpl::quiesce_ops and would prevent
issuing a quiesce_inode op for the new inode.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 1fa9c25d70c666259c300fc95e54ec70e8fd35a5)
src/mds/MDCache.cc
src/mds/Mutation.h