summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-service-time.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2013-08-20 15:02:41 -0400
committerMike Snitzer <snitzer@redhat.com>2013-08-23 09:02:14 -0400
commitf610937214e2ac8c4225df9a124ea0de1f030626 (patch)
tree879998ed1f96546a6dd555debcd74ad09b88be29 /drivers/md/dm-service-time.c
parent0cc67cd9c55c4b1f076abca06c922751088e6d86 (diff)
downloadlinux-f610937214e2ac8c4225df9a124ea0de1f030626.tar.bz2
dm cache: 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 cache's data block size. Without this patch mkfs.xfs does not recognize the cache 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-service-time.c')
0 files changed, 0 insertions, 0 deletions