]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: make is_held() smarter about full disks
authorSage Weil <sage@inktank.com>
Tue, 18 Jun 2013 03:54:15 +0000 (20:54 -0700)
committerSage Weil <sage@inktank.com>
Wed, 24 Jul 2013 22:46:36 +0000 (15:46 -0700)
commitf799dac7bdf7cf0824a177131473cf59ef3c5205
treedb5b5f7cad2700cbdd0f4a3ef6bf1abb20ab11a1
parent27f31895664fa7f10c1617d486f2a6ece0f97091
ceph-disk: make is_held() smarter about full disks

Handle the case where the device is a full disk.  Make the partition
check a bit more robust (don't make assumptions about naming aside from
the device being a prefix of the partition).

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit e082f1247fb6ddfb36c4223cbfdf500d6b45c978)
src/ceph-disk