diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-01-11 11:05:54 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-24 21:22:45 -0700 |
commit | 9f180e315a93cde559ac1c9c4c5ce980aa681c1c (patch) | |
tree | a1469d03fead5c762d84d3b64f416fd34cd0aa33 /tools/perf/scripts/python/syscall-counts.py | |
parent | c495a17679523c95f77f13697a71921dd5c224cd (diff) |
block: don't allocate inline bvecs if this bioset needn't bvecs
The inline bvecs won't be used if user needn't bvecs by not passing
BIOSET_NEED_BVECS, so don't allocate bvecs in this situation.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Tested-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions