linux/drivers/infiniband/ulp
Gioh Kim 9aaf9a2aba block/rnbd-clt: Does not request pdu to rtrs-clt
Previously the rnbd client requested the rtrs to allocate rnbd_iu
just after the rtrs_iu. So the rnbd client passes the size of
rnbd_iu for rtrs_clt_open() and rtrs creates an array of
rnbd_iu and rtrs_iu.

For IO handling, rnbd_iu exists after the request because we pass
the size of rnbd_iu when setting the tag-set. Therefore we do not
use the rnbd_iu allocated by rtrs for IO handling.
We only use the rnbd_iu allocated by rtrs when doing session
initialization. Almost all rnbd_iu allocated by rtrs are wasted.

By this patch the rnbd client does not request rnbd_iu allocation
to rtrs but allocate it for itself when doing session initialization.

Also remove unused rtrs_permit_to_pdu from rtrs.

Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-12-16 14:56:09 -07:00
..
ipoib RDMA/ipoib: Distribute cq completion vector better 2020-11-20 16:18:59 -04:00
iser RDMA/iser: Remove in_interrupt() usage 2020-12-07 16:05:12 -04:00
isert RDMA 5.11 pull request 2020-12-16 13:42:26 -08:00
opa_vnic IB: Fix kernel-doc markups 2020-12-07 15:45:00 -04:00
rtrs block/rnbd-clt: Does not request pdu to rtrs-clt 2020-12-16 14:56:09 -07:00
srp RDMA: Convert various random sprintf sysfs _show uses to sysfs_emit 2020-10-30 21:03:52 -03:00
srpt RDMA 5.11 pull request 2020-12-16 13:42:26 -08:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00