linux_dsm_epyc7002/drivers/nvme/target
Chaitanya Kulkarni eb464833a2 nvmet-loop: 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 me mapped.  This fixes the case where
a struct requests contains LBAs, but no data will actually be send,
e.g. the pending Write Zeroes support.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-05-25 16:50:12 +02:00
..
admin-cmd.c nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
configfs.c nvmet: refactor configfs transport type handling 2018-03-26 08:53:43 -06:00
core.c nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
discovery.c nvmet: remove duplicate NULL initialization for req->ns 2018-05-25 16:50:12 +02:00
fabrics-cmd.c nvmet: remove duplicate NULL initialization for req->ns 2018-05-25 16:50:12 +02:00
fc.c nvmet-fc: increase LS buffer count per fc port 2018-05-25 16:50:12 +02:00
fcloop.c
io-cmd-bdev.c nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
io-cmd-file.c nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
Kconfig nvmet-rdma: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:43 -04:00
loop.c nvmet-loop: use nr_phys_segments when map rq to sgl 2018-05-25 16:50:12 +02:00
Makefile nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
nvmet.h nvmet: add simple file backed ns support 2018-05-25 16:50:12 +02:00
rdma.c nvmet: constify struct nvmet_fabrics_ops 2018-03-26 08:53:43 -06:00