]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: bio: remove BIO_MAX_SECTORS
authorMing Lei <ming.lei@canonical.com>
Thu, 9 Jun 2016 16:03:28 +0000 (10:03 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jun 2016 16:03:28 +0000 (10:03 -0600)
commit30ac4607d553277b927457678e48bb2e5de1717d
treee702cd7f7d5045ed74fae6212742beb69b88c8b6
parentc908e38073992053949cedecca9c83b5300bbb3a
block: bio: remove BIO_MAX_SECTORS

No one need this macro, so remove it. The motivation is for supporting
multipage bvecs, in which we only know what the max count of bvecs is
supported in the bio, instead of max size or max sectors.

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>
include/linux/bio.h