]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: fix device/partition metadata detection 16913/head
authorSage Weil <sage@redhat.com>
Tue, 8 Aug 2017 17:59:41 +0000 (13:59 -0400)
committerSage Weil <sage@redhat.com>
Tue, 8 Aug 2017 18:00:39 +0000 (14:00 -0400)
commite62862be0b68a17763e19ed8453436c457294505
tree372b607e5f99cb4676f9cd7f50826c3909615596
parenta47831fb19a92108a0441e85b0a2246057308f99
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>
src/os/filestore/FileStore.cc