]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: unified way to map images using different drivers 19711/head
authorMykola Golub <mgolub@suse.com>
Thu, 28 Dec 2017 16:53:46 +0000 (18:53 +0200)
committerMykola Golub <mgolub@suse.com>
Mon, 29 Jan 2018 07:34:11 +0000 (09:34 +0200)
commit6a57358add1157629a6d1f72ae48777e134c99e6
tree92b37c7ff9e99150e2d9fd42fba5116f9639c84b
parent0d4a71ed233741ad268c0953babaa85f40046ece
rbd: unified way to map images using different drivers

Instead of "rbd map|unmap|showmapped", "rbd ndb map|unmap|list",
"rbd ggate map|unmap|list" commands, provide:

 rbd device -t krbd|nbd|ggate|... map|unmap|list

which gives interface consistent between drivers.

Signed-off-by: Mykola Golub <mgolub@suse.com>
17 files changed:
doc/man/8/rbd.rst
doc/rbd/rbd-ko.rst
qa/tasks/rbd_fio.py
qa/workunits/rbd/kernel.sh
src/init-rbdmap
src/ocf/rbd.in
src/rbdmap
src/stop.sh
src/test/cli-integration/rbd/unmap.t
src/test/cli/rbd/help.t
src/test/cli/rbd/not-enough-args.t
src/test/cli/rbd/too-many-args.t
src/tools/rbd/CMakeLists.txt
src/tools/rbd/action/Device.cc [new file with mode: 0644]
src/tools/rbd/action/Ggate.cc
src/tools/rbd/action/Kernel.cc
src/tools/rbd/action/Nbd.cc