diff options
author | Christoph Hellwig <hch@lst.de> | 2018-02-22 07:24:09 -0800 |
---|---|---|
committer | Keith Busch <keith.busch@intel.com> | 2018-02-22 01:45:32 -0700 |
commit | 0d30992395b1ed0e006960de1651b44cd51be791 (patch) | |
tree | 1b91a15093945138669b37c473f14cf4dde0d533 /drivers/nvme/target | |
parent | 5a1e59533380a3fd04593e4ab2d4633ebf7745c1 (diff) | |
download | talos-op-linux-0d30992395b1ed0e006960de1651b44cd51be791.tar.gz talos-op-linux-0d30992395b1ed0e006960de1651b44cd51be791.zip |
nvme-rdma: use blk_rq_payload_bytes instead of blk_rq_bytes
blk_rq_bytes does the wrong thing for special payloads like discards and
might cause the driver to not set up a SGL.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions