]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: document convention used in ReadOp::read and ReadOp::iterate 48586/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 20 Oct 2022 19:08:53 +0000 (15:08 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 21 Oct 2022 15:54:55 +0000 (11:54 -0400)
commita7398e3c95607caee007e5fedff2763e36de5add
treec028461887a9cd50561da695f31e4c014503a0b1
parente428c0d546450af31ac48f7b1c5229464659379a
rgw: document convention used in ReadOp::read and ReadOp::iterate

Both of these functions defined at the SAL layer take an offset and an
end offset. It's important to note that the end offset is inclusive
since a common, modern convention is for the end offset to be
exclusive.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal_daos.h
src/rgw/rgw_sal_dbstore.h
src/rgw/rgw_sal_motr.h
src/rgw/rgw_sal_rados.h