From a5b74203589f1c06d86d50fb56940571bfc13e20 Mon Sep 17 00:00:00 2001 From: Brian Foster Date: Mon, 16 Sep 2013 14:18:53 -0400 Subject: qemu-block: support readdirp Support the readdirp fop in qemu-block to ensure that image files are handled correctly when readdirp is enabled. E.g., without readdirp support, incorrect stat data for formatted files can be reported back (and cached) via the client. BUG: 986775 Change-Id: Ibc4bd0b42548953ebe30832f3d853bb68095f0ac Signed-off-by: Brian Foster Reviewed-on: http://review.gluster.org/5946 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- tests/basic/file-snapshot.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/basic/file-snapshot.t b/tests/basic/file-snapshot.t index 93726f4b8..36908192b 100755 --- a/tests/basic/file-snapshot.t +++ b/tests/basic/file-snapshot.t @@ -27,6 +27,7 @@ TEST touch $M0/big-file; TEST setfattr -n trusted.glusterfs.block-format -v qcow2:10GB $M0/big-file; +TEST ls -al $M0 # test readdirplus TEST [ `stat -c '%s' $M0/big-file` = 10737418240 ] echo 'ABCDEFGHIJ' > $M0/data-file1 -- cgit