]> git.apps.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>
Tue, 2 Jul 2013 21:00:15 +0000 (14:00 -0700)
commite082f1247fb6ddfb36c4223cbfdf500d6b45c978
tree390f08dfd010e22ed59522ebb042f3bdcc38ac9f
parentda1fb93fabdc26d9b54d6bd0ed1ec7852132bf1f
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>
src/ceph-disk