]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: assert on m_length in calc_object_diff_range()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 11 Jun 2024 14:03:22 +0000 (16:03 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 23 Jun 2024 10:34:28 +0000 (12:34 +0200)
commit7ebba9fcb121e844369f5bf8d1fc6b0ec0847654
treeabe7acb51da62fdaeafb6ee37bcff0dd3f374dbc
parentda4ed200a1089b7a3aa982e7ddb7b9dbeab7046f
librbd: assert on m_length in calc_object_diff_range()

A non-empty byte range is required by both last_period_off calculation
and Striper::file_to_extents().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 6b5f0088d799a72a840fae685b44b0f31eee6be8)
src/librbd/api/DiffIterate.cc