]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Clamp FIFO trim to head
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 26 Jan 2021 06:27:24 +0000 (01:27 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 5 Apr 2021 17:45:08 +0000 (13:45 -0400)
commit2f94c171859dd938ba02e57a243558b3bb4b219c
tree7bf7bf12609123c63ca062f66b08cb8ddda04083
parentaf90c013b688d2a83773c5fe3ad82c262a1156cb
rgw: Clamp FIFO trim to head

Don't try to trim a bunch of parts that don't exist.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 60b729e32602b7401e15957cef976386281c4ccb)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/cls_fifo_legacy.cc
src/test/rgw/test_cls_fifo_legacy.cc