]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/aio: avoid infinite recursion in aio_abstract()
authorCasey Bodley <cbodley@redhat.com>
Thu, 22 Feb 2024 21:54:54 +0000 (16:54 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 23 Feb 2024 18:14:13 +0000 (13:14 -0500)
commit8d42fe8e6f7036ae21daf5fe2d1b9be6f60e6791
tree9e7df9f0d11c83cff7b1288fe14d08a4a9b5d651
parentc5c7d269f2ef9e35226848dd0cf431a4e5500e66
rgw/aio: avoid infinite recursion in aio_abstract()

a recent regression from 320a2179a3c6c1981a0fd2494938515997c1bfad causes
aio_abstract() to recurse when given an empty optional_yield. this is
exposed by the librgw_file tests

Fixes: https://tracker.ceph.com/issues/64543
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0e223fdf43561811dc4ad4fa29979e9f0722fa7f)
src/rgw/rgw_aio.cc