block: drbd: avoid to use BIO_MAX_SIZE
authorMing Lei <ming.lei@canonical.com>
Mon, 30 May 2016 13:34:35 +0000 (21:34 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jun 2016 16:04:08 +0000 (10:04 -0600)
commit8bf223c22254aac0111e06020d0e3c3098a9e57b
tree6d2af69a466c92c916d79a75dd7f0f48968dbe1b
parent30ac4607d553277b927457678e48bb2e5de1717d
block: drbd: avoid to use BIO_MAX_SIZE

Use BIO_MAX_PAGES instead and we will remove BIO_MAX_SIZE.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_int.h