diff options
| author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-08-28 05:52:56 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-09-02 01:49:26 +0300 |
| commit | 7d7ca7c5269becab86c9f595309c8e90ce268967 (patch) | |
| tree | b19837e1b64f7d96bced5a4d6994b185d7e0f81d /tools/perf/scripts/python/syscall-counts.py | |
| parent | bdc6a287bc98e8f32bf52c9cb2d1bdf75975f5a0 (diff) | |
| download | linux-7d7ca7c5269becab86c9f595309c8e90ce268967.tar.xz | |
block: Add a new helper to attempt to merge a bio
There are lots of duplicated code when trying to merge a bio from
plug list and sw queue, we can introduce a new helper to attempt
to merge a bio, which can simplify the blk_bio_list_merge()
and blk_attempt_plug_merge().
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
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
