diff options
author | 2017-06-18 14:38:59 +1000 | |
---|---|---|
committer | 2017-06-18 12:40:59 -0600 | |
commit | 58c94cc19e0800e8c0d0d708e37eeb4dee564ba9 (patch) | |
tree | ae10aeee564fbba0921a12fc3daee9b347756eb8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: remove bio_clone() and all references. (diff) | |
download | linux-dev-58c94cc19e0800e8c0d0d708e37eeb4dee564ba9.tar.xz linux-dev-58c94cc19e0800e8c0d0d708e37eeb4dee564ba9.zip |
block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()
blk_bio_segment_split() makes sure bios have no more than
BIO_MAX_PAGES entries in the bi_io_vec.
This was done because bio_clone_bioset() (when given a
mempool bioset) could not handle larger io_vecs.
No driver uses bio_clone_bioset() any more, they all
use bio_clone_fast() if anything, and bio_clone_fast()
doesn't clone the bi_io_vec.
The main user of of bio_clone_bioset() at this level
is bounce.c, and bouncing now happens before blk_bio_segment_split(),
so that is not of concern.
So remove the big helpful comment and the code.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions