]> 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>
Wed, 20 Mar 2024 14:56:57 +0000 (10:56 -0400)
commit1fa9c25d70c666259c300fc95e54ec70e8fd35a5
treec5bd9ad322578eaf81fce8bfaf24c2e74a8f11b3
parentc90cc2d04bb2d6d4e558fe268bcd241ea7723880
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>
src/mds/MDCache.cc
src/mds/Mutation.h