]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs_mirror: Fixes 'Bad file descriptor' showing during test_cephfs_mirror_cancel_m...
authorJos Collin <jcollin@redhat.com>
Mon, 25 Mar 2024 12:25:34 +0000 (17:55 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 20 Aug 2024 07:50:07 +0000 (13:20 +0530)
commitbd78bdca3d7d7659b7ec0f12b77a2002282fec13
treec4940efc8cd80dd8e9562a3cc83258a234c816cd
parent630f8e04c093d97a36c4a10b683ebccd46fccbce
cephfs_mirror: Fixes 'Bad file descriptor' showing during test_cephfs_mirror_cancel_mirroring_and_readd execution

Avoid stale fh by calling pre_sync_check_and_open_handles inside the loop

Fixes: https://tracker.ceph.com/issues/65115
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/tools/cephfs_mirror/PeerReplayer.cc