]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/cli-integration/rbd: add unmap test 4402/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 17 Apr 2015 14:27:08 +0000 (17:27 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 19 Apr 2015 11:45:37 +0000 (14:45 +0300)
commite4ebe10894d79ebfff9138aa4517666ceed80d9c
tree79097da5f52758f2d40c79c599ff9de0b9d5c506
parentb1d3f918fb96c50d3ed07bf1b3c6043d7541820f
test/cli-integration/rbd: add unmap test

Add a test to exercise rbd unmap.  This was inspired by and is mostly
for rbd unmap <image-name> (aka spec), but rbd unmap <device> is tested
as well.  Any significant change to krbd.cc or corresponding rbd cli
should be tested in the following three configurations at least:

- kernel < 3.14
- kernel >= 3.14, rbd.single_major=N
- kernel >= 3.14, rbd.single_major=Y

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/cli-integration/rbd/unmap.t [new file with mode: 0644]