diff options
author | Christoph Hellwig <hch@lst.de> | 2018-02-22 07:24:10 -0800 |
---|---|---|
committer | Keith Busch <keith.busch@intel.com> | 2018-02-22 01:45:34 -0700 |
commit | 796b0b8d8dea191d9f64e0be8ab58d8f3586bcde (patch) | |
tree | 4b4b613090424bade84d393a61caff75cdd9d938 /fs/nfsd/nfsproc.c | |
parent | 0d30992395b1ed0e006960de1651b44cd51be791 (diff) | |
download | op-kernel-dev-796b0b8d8dea191d9f64e0be8ab58d8f3586bcde.zip op-kernel-dev-796b0b8d8dea191d9f64e0be8ab58d8f3586bcde.tar.gz |
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 <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 'fs/nfsd/nfsproc.c')
0 files changed, 0 insertions, 0 deletions