diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-08-20 21:02:41 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2013-08-23 15:02:14 +0200 |
commit | 0cc67cd9c55c4b1f076abca06c922751088e6d86 (patch) | |
tree | cecddf3bbb42ae79bc6262293446d7ad73ba1601 /drivers/md/dm-cache-target.c | |
parent | dm thin: add data block size limits to Documentation (diff) | |
download | linux-0cc67cd9c55c4b1f076abca06c922751088e6d86.tar.xz linux-0cc67cd9c55c4b1f076abca06c922751088e6d86.zip |
dm thin: fix stacking of geometry limits
Do not blindly override the queue limits (specifically io_min and
io_opt). Allow traditional stacking of these limits if io_opt is a
factor of the thin-pool's data block size.
Without this patch mkfs.xfs does not recognize the thin device's
provided limits as a useful geometry (e.g. raid) so these hints are
ignored. This was due to setting io_min to a useless value.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions