]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: don't store/use path_block.{db,wal} from meta
authorSage Weil <sage@redhat.com>
Thu, 7 Jun 2018 17:12:46 +0000 (12:12 -0500)
committerSage Weil <sage@redhat.com>
Thu, 7 Jun 2018 17:12:46 +0000 (12:12 -0500)
commitef510e43f0ee14b49e99beed9ae8feda6db3429a
tree7903af54049a508af174f83012344ac3d5e62dbc
parent5b1a58a6f632f3da85570a71b6a588912c225311
os/bluestore: don't store/use path_block.{db,wal} from meta

This reverts most of 8d07fa5ad0772b4d979dc10695d230074d1f1e69.

ceph-volume goes to great lengths to ensure that the symlinks in the
osd dir are accurate.  Having these values here is an opportunity to
get them out of sync.  And that can happen very easily if the initial
mkfs was performed using a /dev/sdX device name (which is unstable
across reboots).  Even after ceph-volume corrects the symlink, bluestore
will continue to use the stale device path.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc