]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: fix qa/RadosModel content corrupt
authorchunmei-liu <chunmei.liu@intel.com>
Tue, 25 Jan 2022 06:39:31 +0000 (22:39 -0800)
committerchunmei-liu <chunmei.liu@intel.com>
Wed, 26 Jan 2022 05:51:48 +0000 (21:51 -0800)
commita59057a6bd3ce3171de04572b8cbbfb8fa74895e
treefc3772aa51aae94eeae299fac225ed5e6859c655
parente8791ca367b3c317e8b55951a75b897b12e6aa74
crimson: fix qa/RadosModel content corrupt

RadosModel test read more length than object size, if truncate
not append zero to bufferlist, RadosMode will read more data and
it will check if there is content after the object size. So append
zero after truncate size to end of extent.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
src/crimson/os/seastore/object_data_handler.cc