diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-12-18 15:22:08 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 19:18:00 +0300 |
commit | 8f50e358153dd68182c714626be4a90b64179cf4 (patch) | |
tree | 271cef801d2e2757eed59270948993b65ae10d06 /block/blk-sysfs.c | |
parent | 3c892a098b0bfa3e571f1f0d2a7e72fbaeea691a (diff) | |
download | linux-8f50e358153dd68182c714626be4a90b64179cf4.tar.xz |
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 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions