]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: give conventional region of SMR to bluefs
authorSage Weil <sage@newdream.net>
Thu, 16 Sep 2021 17:09:54 +0000 (12:09 -0500)
committerSage Weil <sage@newdream.net>
Fri, 29 Oct 2021 13:56:42 +0000 (09:56 -0400)
commitd7b0e77b56ae10d985652b7f1955e2c98f196b9a
tree7bf7bc3c7c8bf0f75508ef87129e5ed7fff109e4
parentf9002c08611a00f71de8ca9871a15886129acb1c
os/bluestore: give conventional region of SMR to bluefs

Let bluefs use the conventional region of an SMR HDD.  It won't be able to
use the sequential region if it runs out of space, but it does mean that
bluefs can function on an SMR drive without a dedicated db/wal device.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/bluestore/BlueStore.cc
src/test/objectstore/run_smr_bluestore_test.sh