]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
map-unmap.sh: drop the get_id() logic
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 26 Jun 2014 13:34:19 +0000 (17:34 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Sun, 29 Jun 2014 17:58:15 +0000 (21:58 +0400)
commit16b14ea12310a86692c4c984e5b4d86f7405ebcd
tree9dd62dc615de666e859aed0600fc5b8851e5fc99
parentc2ffad3494ead646a9d7777fce7306a94215af15
map-unmap.sh: drop the get_id() logic

Take advantage of the fact that 'rbd map' will now talk to udev and
output the device that got assigned by the kernel to the newly created
mapping.  Drop the get_id() cruft, udevadm settle and chown calls.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
qa/workunits/rbd/map-unmap.sh