block: remove bio_get_nr_vecs()
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 19 May 2015 12:31:01 +0000 (14:31 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 13 Aug 2015 18:32:04 +0000 (12:32 -0600)
commitb54ffb73cadcdcff9cc1ae0e11f502407e3e2e4c
tree8a6d90b3e092e598fefd34718afd2198d8bff2a7
parent6cf66b4caf9c71f64a5486cadbd71ab58d0d4307
block: remove bio_get_nr_vecs()

We can always fill up the bio now, no need to estimate the possible
size based on queue parameters.

Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
[hch: rebased and wrote a changelog]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
16 files changed:
block/bio.c
drivers/md/dm-io.c
fs/btrfs/compression.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c
fs/btrfs/scrub.c
fs/direct-io.c
fs/ext4/page-io.c
fs/ext4/readpage.c
fs/f2fs/data.c
fs/gfs2/lops.c
fs/logfs/dev_bdev.c
fs/mpage.c
fs/nilfs2/segbuf.c
fs/xfs/xfs_aops.c
include/linux/bio.h