btrfs/146: make sure hit all stripes in the case of compression
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Thu, 8 Mar 2018 08:30:53 +0000 (16:30 +0800)
committerEryu Guan <guaneryu@gmail.com>
Thu, 8 Mar 2018 09:55:08 +0000 (17:55 +0800)
commit640e4f6d7ae3ac930ff2f569098c43dfb6d3b532
tree4dd246952aa55f647656b5f7da85227c33113f9b
parent34369fb21cc24ce8b81d5b529b21869014391bf0
btrfs/146: make sure hit all stripes in the case of compression

In the case of compression, each 128K input data chunk will be
compressed to 4K (because of the characters written are duplicate).
Therefore we have to write (128K * 16) to make sure every stripe can be
hit.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/146