]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object 48405/head
authorSamuel Just <sjust@redhat.com>
Thu, 6 Oct 2022 22:52:18 +0000 (15:52 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 12 Oct 2022 14:58:31 +0000 (07:58 -0700)
commit549eec05341be45c9622ef5a4ee6635afd3f11bb
tree554c08eab08da3635fd9110969f340e9ede018d2
parent1e6985b9e0c90e335325539b94c61d5581a04f6b
crimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object

librbd image diff seems to rely on this behavior to modify oi.size for
LIST_SNAPS.

Fixes: https://tracker.ceph.com/issues/57791
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/pg_backend.cc
src/crimson/osd/pg_backend.h