[PATCH] generic: require filesize to be greater than fs block size in generic/240

Christoph Hellwig hch at infradead.org
Wed Dec 11 00:55:25 CST 2013


> -# 2 threads, fs block sized writes, 64k filesize, stride through file by
> +if [ $file_size -lt $fs_block_size ]; then
> +	file_size=$fs_block_size
> +fi

We'd need the file size to be a multiple of the block size to make this
useful, I'd take 4 or 8 times as a useful default.



More information about the xfs mailing list