]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueStore: no device no symlink. 15721/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Fri, 16 Jun 2017 18:42:37 +0000 (02:42 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Fri, 16 Jun 2017 18:42:37 +0000 (02:42 +0800)
commit35e75bd6cd00b7a55a5e27d5a470413ffb9a449f
tree437da3204ad3d080c797cb1c04704c8aa33c1ea2
parent9f574bc8265071a6940efad6701776a89a35c153
os/bluestore/BlueStore: no device no symlink.

If bluestore_block_db_create or bluestore_block_db_create is false
and we use non-exist blockdevice as db/wal. ceph-osd still work and it
use block as db/wal. This bug introduced by 316810d7e74.

If stat(symlink) error and symlink still exist, this is bug.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/os/bluestore/BlueStore.cc