block: rename BIO_MAX_PAGES to BIO_MAX_VECS
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Mar 2021 11:01:37 +0000 (12:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Mar 2021 14:47:48 +0000 (07:47 -0700)
commita8affc03a9b375e19bc81573de0c9108317d78c7
tree20091872316d41f38bb53134fb340caf78710203
parentdf66617bfe87487190a60783d26175b65d2502ce
block: rename BIO_MAX_PAGES to BIO_MAX_VECS

Ever since the addition of multipage bio_vecs BIO_MAX_PAGES has been
horribly confusingly misnamed.  Rename it to BIO_MAX_VECS to stop
confusing users of the bio API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210311110137.1132391-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
31 files changed:
block/bio.c
block/blk-crypto-fallback.c
block/blk-lib.c
block/blk-map.c
block/bounce.c
drivers/block/drbd/drbd_int.h
drivers/md/bcache/super.c
drivers/md/dm-crypt.c
drivers/md/dm-writecache.c
drivers/md/raid5-cache.c
drivers/md/raid5-ppl.c
drivers/nvme/target/passthru.c
fs/block_dev.c
fs/btrfs/extent_io.c
fs/btrfs/scrub.c
fs/crypto/bio.c
fs/erofs/zdata.c
fs/ext4/page-io.c
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c
fs/gfs2/lops.c
fs/iomap/buffered-io.c
fs/iomap/direct-io.c
fs/mpage.c
fs/nilfs2/segbuf.c
fs/squashfs/block.c
fs/zonefs/super.c
include/linux/bio.h