]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing 18565/head
authorSage Weil <sage@redhat.com>
Thu, 26 Oct 2017 18:51:40 +0000 (13:51 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Oct 2017 18:51:40 +0000 (13:51 -0500)
commitde8dc42d42218bc1a1779e1bcc5831c567853c8d
tree1e5e8ac7d7c348c35fdb202f45d34c709096b9e0
parent664ad1a16c7e0ca06deb4ae93fc55b9544d96f3d
ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing

If the symlink points to the right location, do nothing.  If it doesn't,
replace it.  If it's not a symlink, bail with EEXIST.

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