]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_librbd_fsx: make resizes sector-size aligned
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 1 May 2014 12:08:03 +0000 (16:08 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 7 May 2014 13:30:05 +0000 (17:30 +0400)
commitd63808ed09412c947d1242f0abded6e267bb8e50
treebbdcbe0af653afd36b47205d4b31e944ebc2d867
parent3513ba0ac450901bdeb852cb81f3df09a8466aec
test_librbd_fsx: make resizes sector-size aligned

In preparation for krbd mode support, change check_trunc_hack() to
resize to a sector-size aligned value.  The kernel will not work with
images whose size is not sector-size aligned.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
src/test/librbd/fsx.c