From: Sage Weil Date: Wed, 7 Aug 2019 15:54:42 +0000 (-0500) Subject: os/bluestore: whitespace X-Git-Tag: v15.1.0~1878^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=99c56559d17fac4fde65ef38a82ac6cab090dafb;p=ceph-ci.git os/bluestore: whitespace Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index da3d3542b51..ae79559b1e8 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -5136,8 +5136,9 @@ int BlueStore::_minimal_open_bluefs(bool create) bfn = path + "/block.db"; if (::stat(bfn.c_str(), &st) == 0) { - r = bluefs->add_block_device(BlueFS::BDEV_DB, bfn, - create && cct->_conf->bdev_enable_discard); + r = bluefs->add_block_device( + BlueFS::BDEV_DB, bfn, + create && cct->_conf->bdev_enable_discard); if (r < 0) { derr << __func__ << " add block device(" << bfn << ") returned: " << cpp_strerror(r) << dendl; @@ -5216,7 +5217,7 @@ int BlueStore::_minimal_open_bluefs(bool create) bfn = path + "/block.wal"; if (::stat(bfn.c_str(), &st) == 0) { r = bluefs->add_block_device(BlueFS::BDEV_WAL, bfn, - create && cct->_conf->bdev_enable_discard); + create && cct->_conf->bdev_enable_discard); if (r < 0) { derr << __func__ << " add block device(" << bfn << ") returned: " << cpp_strerror(r) << dendl; @@ -6277,7 +6278,7 @@ int BlueStore::add_new_bluefs_device(int id, const string& dev_path) ceph_assert(r == 0); r = bluefs->add_block_device(BlueFS::BDEV_NEWWAL, p, - cct->_conf->bdev_enable_discard); + cct->_conf->bdev_enable_discard); ceph_assert(r == 0); if (bluefs->bdev_support_label(BlueFS::BDEV_NEWWAL)) { @@ -6298,7 +6299,7 @@ int BlueStore::add_new_bluefs_device(int id, const string& dev_path) ceph_assert(r == 0); r = bluefs->add_block_device(BlueFS::BDEV_NEWDB, p, - cct->_conf->bdev_enable_discard); + cct->_conf->bdev_enable_discard); ceph_assert(r == 0); if (bluefs->bdev_support_label(BlueFS::BDEV_NEWDB)) { @@ -6441,7 +6442,7 @@ int BlueStore::migrate_to_new_bluefs_device(const set& devs_source, target_size = cct->_conf->bluestore_block_wal_size; r = bluefs->add_block_device(BlueFS::BDEV_NEWWAL, dev_path, - cct->_conf->bdev_enable_discard); + cct->_conf->bdev_enable_discard); ceph_assert(r == 0); if (bluefs->bdev_support_label(BlueFS::BDEV_NEWWAL)) { @@ -6458,7 +6459,7 @@ int BlueStore::migrate_to_new_bluefs_device(const set& devs_source, target_size = cct->_conf->bluestore_block_db_size; r = bluefs->add_block_device(BlueFS::BDEV_NEWDB, dev_path, - cct->_conf->bdev_enable_discard); + cct->_conf->bdev_enable_discard); ceph_assert(r == 0); if (bluefs->bdev_support_label(BlueFS::BDEV_NEWDB)) {