Christoph Hellwig 1fe0640ff9 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>
2022-02-02 07:49:59 -07:00
..
2022-02-02 07:49:59 -07:00
2022-02-02 07:49:59 -07:00
2021-11-29 06:35:21 -07:00
2022-02-02 07:49:59 -07:00
2022-01-17 07:19:40 -07:00
2021-12-16 10:57:04 -07:00
2021-12-16 10:57:04 -07:00
2021-11-09 11:24:08 -08:00
2021-11-29 06:38:35 -07:00
2022-02-02 07:49:59 -07:00
2021-11-29 06:38:35 -07:00
2021-11-29 06:38:35 -07:00
2022-01-12 10:26:52 -08:00
2021-11-29 06:38:35 -07:00