]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: fix device/partition metadata detection 17865/head
authorSage Weil <sage@redhat.com>
Tue, 8 Aug 2017 17:59:41 +0000 (13:59 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 21 Sep 2017 04:07:11 +0000 (06:07 +0200)
commit4c9d86bd86954cbee25a3ea2a60af063114f7790
treeee2155657c4e8e49bdd13606c9da1efa1bc3382a
parent1befcbebcbcedf398b782adfcc165038d13fc3da
os/filestore: fix device/partition metadata detection

The UUID thing (a) relies on partition labels to work, which isn't
always true (and won't be true for ceph-volume going forward), and
(b) reportedly doesn't work anyway.  The fd-based helper works
just fine (even for vstart).

Fixes: http://tracker.ceph.com/issues/20944
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e62862be0b68a17763e19ed8453436c457294505)
src/os/filestore/FileStore.cc