]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing 18590/head
authorSage Weil <sage@redhat.com>
Thu, 26 Oct 2017 18:51:40 +0000 (13:51 -0500)
committerSage Weil <sage@redhat.com>
Fri, 27 Oct 2017 13:20:24 +0000 (08:20 -0500)
commit56359c367d8267281f714dcecefdb50c598718a6
tree60862364277935711c8866b846d0393ae501f04a
parentb151619a4523b148026e613860a05add6aff3831
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>
(cherry picked from commit de8dc42d42218bc1a1779e1bcc5831c567853c8d)
src/os/bluestore/bluestore_tool.cc