diff options
| author | Christoph Hellwig <[email protected]> | 2018-02-22 15:24:10 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2018-02-22 08:45:34 +0000 |
| commit | 796b0b8d8dea191d9f64e0be8ab58d8f3586bcde (patch) | |
| tree | 4b4b613090424bade84d393a61caff75cdd9d938 /lib/string_helpers.c | |
| parent | nvme-rdma: use blk_rq_payload_bytes instead of blk_rq_bytes (diff) | |
| download | kernel-796b0b8d8dea191d9f64e0be8ab58d8f3586bcde.tar.gz kernel-796b0b8d8dea191d9f64e0be8ab58d8f3586bcde.zip | |
nvmet-loop: use blk_rq_payload_bytes for sgl selection
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
