summaryrefslogtreecommitdiff
path: root/drivers/md/dm-ioctl.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2018-12-18 09:25:37 -0800
committerMike Snitzer <snitzer@redhat.com>2018-12-18 14:23:41 -0500
commitc6d6e9b0f6b4201c77f2cea3964dd122697e3543 (patch)
tree3acd02efdcc3ff01072f8ad9702ea9b0740d37e7 /drivers/md/dm-ioctl.c
parent74694bcbdf7e28a5ad548cdda9ac56d30be00d13 (diff)
dm: do not allow readahead to limit IO size
Update DM to set the bdi's io_pages. This fixes reads to be capped at the device's max request size (even if user's read IO exceeds the established readahead setting). Fixes: 9491ae4a ("mm: don't cap request size based on read-ahead setting") Cc: stable@vger.kernel.org Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions