]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
neorados: Fix logic error in exerciser
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 15 Sep 2022 18:46:47 +0000 (14:46 -0400)
committerAdam Emerson <aemerson@redhat.com>
Thu, 14 Sep 2023 21:03:16 +0000 (17:03 -0400)
commitb65a4e63c5d2bd6c8849e6d2cc390c5e01476a84
treeed0765c97325fdbbeec081937e9b19dad2097d04
parent1d116014622bad40ec5e575a8e13801f5b5d13de
neorados: Fix logic error in exerciser

Use `min` rather than `max` when deciding how much we need to read in
`read()`.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/tools/neorados.cc