aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-12-18 20:22:08 +0800
committerJens Axboe <axboe@kernel.dk>2018-01-06 09:18:00 -0700
commit8f50e358153dd68182c714626be4a90b64179cf4 (patch)
tree271cef801d2e2757eed59270948993b65ae10d06 /drivers/md/bcache
parentblock: bounce: don't access bio->bi_io_vec in copy_to_high_bio_irq (diff)
downloadlinux-dev-8f50e358153dd68182c714626be4a90b64179cf4.tar.xz
linux-dev-8f50e358153dd68182c714626be4a90b64179cf4.zip
dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE
For BIO based DM, some targets aren't ready for dealing with bigger incoming bio than 1Mbyte, such as crypt target. Cc: Mike Snitzer <snitzer@redhat.com> Cc:dm-devel@redhat.com Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache')
0 files changed, 0 insertions, 0 deletions