Mike Snitzer fdfb4c8c1a dm thin: set minimum_io_size to pool's data block size
Before, if the block layer's limit stacking didn't establish an
optimal_io_size that was compatible with the thin-pool's data block size
we'd set optimal_io_size to the data block size and minimum_io_size to 0
(which the block layer adjusts to be physical_block_size).

Update pool_io_hints() to set both minimum_io_size and optimal_io_size
to the thin-pool's data block size.  This fixes an issue reported where
mkfs.xfs would create more XFS Allocation Groups on thinp volumes than
on a normal linear LV of comparable size, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1003227

Reported-by: Chris Murphy <lists@colorremedies.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2014-08-01 12:30:35 -04:00
..
2014-07-18 20:26:46 -10:00
2014-07-23 17:42:37 -07:00
2014-05-27 17:38:11 -07:00
2014-06-26 13:34:15 +01:00
2014-06-25 12:19:01 -07:00
2014-07-25 18:00:23 -07:00
2014-07-12 14:13:10 -07:00
2014-07-15 20:55:15 +02:00
2014-06-17 15:43:48 -07:00
2014-06-11 14:06:55 -07:00
2014-06-02 16:35:49 -07:00
2014-07-06 12:08:30 -07:00
2014-06-06 11:44:09 -07:00
2014-05-26 21:27:09 +02:00
2014-06-26 10:48:23 +01:00
2014-07-11 17:43:13 -07:00
2014-06-23 09:22:48 +03:00
2014-07-01 13:18:38 +03:00
2014-07-17 08:02:35 -10:00