Skip to content
Commit c6d6e9b0 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Mike Snitzer
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 74694bcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment