Files
erofs-linux/drivers
Chaitanya Kulkarni 34e08191b1 nvme-rdma: use nr_phys_segments when map rq to sgl
Use blk_rq_nr_phys_segments() instead of blk_rq_payload_bytes() to check
if a command contains data to be mapped.  This fixes the case where
a struct request contains LBAs, but it has no payload, such as
Write Zeroes support.

Fixes: 6e02318eae ("nvme: add support for the Write Zeroes command")
Reported-by: Ming Lei <[email protected]>
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Tested-by: Ming Lei <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
2019-02-21 06:39:20 -07:00
..
…
…
…
2019-02-15 08:40:12 -07:00
…
…
…
…
…
…
…
…
…
…
2019-01-26 11:14:25 +01:00
…
…
…
2019-02-01 15:53:54 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-01-28 22:53:09 -08:00
…
…
…
…
…