]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
seek_sanity_test: Report the actual allocation size
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 23 Jun 2017 00:11:15 +0000 (02:11 +0200)
committerEryu Guan <eguan@redhat.com>
Mon, 26 Jun 2017 07:20:07 +0000 (15:20 +0800)
commitc56905614d9d11da46e5b236e9e6d476cc2a2925
tree6f5ff62d4cf36f1cfa1a127cf6d0d6dbb7e9d425
parent3ce66a229ddb8e305561085d1dfbf67defb2640a
seek_sanity_test: Report the actual allocation size

Instead of reporting the preferred block size for I/O as returned by
stat(2) as the allocation size, report the actual allocation size.
Clean things up a little in the process.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/seek_sanity_test.c