]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Write non-zero data as part of osd benchmark test.
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 22 Feb 2022 12:25:44 +0000 (17:55 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Thu, 24 Feb 2022 08:19:09 +0000 (13:49 +0530)
commit0fced0db19ff35f89402b322d4a249157abfe7e0
treed30a1aedb1769b20ea8ada29afcb251a22266b25
parent0e3da9ced6a3666a56f4866534b037788e48f7e0
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
(cherry picked from commit 09f94ace863255a7dd7075e269f8d7d63a398495)
src/osd/OSD.cc