]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
dmhugedisk: Allow specifying of chunk size
authorJan Kara <jack@suse.cz>
Tue, 29 May 2018 16:55:56 +0000 (18:55 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 3 Jun 2018 14:16:15 +0000 (22:16 +0800)
commit828f12b965d9bdaa2871b72ae86e443974b0a9b0
tree54c80a0330c08e9f19aea20740684b82e86d6325
parent141bd37a36857984bb80f8534810951002dcdf13
dmhugedisk: Allow specifying of chunk size

Ext4 will want to use dmhugedisk infrastructure for testing resize
bugs.  Ext4 fs images are rather sparse (especially with smaller
block sizes) so the current chunk size of 512 sectors leads to large
space consumption.  Allow test to specify chunk size.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/dmhugedisk