diff options
author | 2022-01-24 10:10:58 +0100 | |
---|---|---|
committer | 2022-02-02 07:49:59 -0700 | |
commit | 1fe0640ff94feae6d21417e2f4f2829b882274b1 (patch) | |
tree | abca744d39f5b5d777816553726c402c46e0a28d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drbd: bio_alloc can't fail if it is allow to sleep (diff) | |
download | linux-dev-1fe0640ff94feae6d21417e2f4f2829b882274b1.tar.xz linux-dev-1fe0640ff94feae6d21417e2f4f2829b882274b1.zip |
rnbd-srv: simplify bio mapping in process_rdma
The memory mapped in process_rdma is contiguous, so there is no need
to loop over bio_add_page. Remove rnbd_bio_map_kern and just open code
the bio allocation and mapping in the caller.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@ionons.com>
Tested-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20220124091107.642561-11-hch@lst.de
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