]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client: asynchronous fsync can decrement request ref twice
authorVenky Shankar <vshankar@redhat.com>
Fri, 30 May 2025 18:11:19 +0000 (18:11 +0000)
committerVenky Shankar <vshankar@redhat.com>
Fri, 30 May 2025 18:15:25 +0000 (23:45 +0530)
After the asynchronous execution context is woken up when waiting
for Fb caps reference to be released.

Fixes: http://tracker.ceph.com/issues/71510
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/client/Client.cc

index 818456fb1a87791180809845ed9fea8af1938c10..f899b183110693d347f9834ad1ad467c56faa938 100644 (file)
@@ -12137,6 +12137,7 @@ void Client::C_nonblocking_fsync_state::advance()
 
     if (waitfor_safe) {
       clnt->put_request(req);
+      waitfor_safe = false;
     }
 
     if (flush_wait && !flush_completed) {