]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_librbd_fsx: flush before discard in krbd mode 4451/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 23 Apr 2015 16:22:05 +0000 (19:22 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 23 Apr 2015 16:31:43 +0000 (19:31 +0300)
commitbd050240ceef0afff1e1b9eba4c92c257e817623
treefce7ab3af05ed3aa53d543e43e599d155ff6f2b4
parent2e8d476e7ab8df7822dc058c569b0d0472eaa587
test_librbd_fsx: flush before discard in krbd mode

We need to sync dirty pages before issuing BLKDISCARD, explained in
a comment.

Fixes: #11448
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/librbd/fsx.c