]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Write non-zero data as part of osd benchmark test. 45118/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 22 Feb 2022 12:25:44 +0000 (17:55 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Tue, 22 Feb 2022 13:08:24 +0000 (18:38 +0530)
commit09f94ace863255a7dd7075e269f8d7d63a398495
treea70a6540e7564801e69820ffa4e8052811c1240f
parent66f198407b0f0902b20bc91cbdd3458638ff83c2
osd: Write non-zero data as part of osd benchmark test.

An optimization (see PR: https://github.com/ceph/ceph/pull/43337) was made
in BlueStore to avoid writing bufferlists made up of zeros. The osd
benchmark used zero filled bufferlists and this resulted in inflated osd
benchmark results.

This issue is fixed by using bufferlists filled with non-zero values.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/54364
src/osd/OSD.cc