]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: is_held must ignore multipath devices
authorLoic Dachary <ldachary@redhat.com>
Mon, 17 Aug 2015 22:18:51 +0000 (00:18 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 29 Aug 2015 00:37:51 +0000 (02:37 +0200)
commit7e5a69bcd2ea398c78aef165ea0aaa17548b6780
treed800cb49ade97c5428b11f46cf3946824f723aaa
parenta10141809c41ec3cc4d89803cf346acf4913d83e
ceph-disk: is_held must ignore multipath devices

Always return an empty list when is_held is called on a multipath
device.

The dmcrypt logic base decisions depending on the holders/slaves
relationship. Such relationships can also exists for multipath devices
but do not have the same semantic.

http://tracker.ceph.com/issues/11881 Fixes: #11881

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/ceph-disk