]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: improve the device query stage on deactivate/destroy feature.
authorVicente Cheng <freeze.bilsted@gmail.com>
Tue, 3 Nov 2015 09:11:33 +0000 (17:11 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Tue, 17 Nov 2015 01:24:43 +0000 (09:24 +0800)
commit3823c31f569a3e381c19a96892c0fbae2001d4ed
tree672f429ca28dd53ae9dd46b4304ceb41350a0dc7
parent7e88cf005fb6de20a15ee19612e0d09b318d9508
ceph-disk: improve the device query stage on deactivate/destroy feature.

  - Make code path much easier to get device info. (get little bit overhead)
  - Let some error rasie the correct execption
  - for dmcrypt device, we unmap on the deactivate stage. (consist with activate)

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
src/ceph-disk