]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/posix: fix event replay in BucketCache ev_loop 69183/head
authorKefu Chai <k.chai@proxmox.com>
Sat, 30 May 2026 07:49:18 +0000 (15:49 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sat, 30 May 2026 09:45:42 +0000 (17:45 +0800)
commit8e1ee45489de7014d995bfb161fba15fa2484958
tree08bee77ca56f0548d40af6c5f4de5083f2a941bb
parent6e3c66b701015cefa20aeb96cf75d546e246daac
rgw/posix: fix event replay in BucketCache ev_loop

evec is never cleared after each n->notify() call, so events accumulate
across iterations of ev_loop's inner for loop. Each notify() call
receives not just the current event but all events dispatched in earlier
iterations too.

Add evec.clear() after each n->notify() call.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/rgw/driver/posix/notify.h