summaryrefslogtreecommitdiffstats
path: root/mm/early_ioremap.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2019-03-13 18:55:10 +0100
committerJens Axboe <axboe@kernel.dk>2019-03-13 12:57:34 -0600
commit602d674ce90f64ac135452fb9b2b058acb53b226 (patch)
tree03f0a830518c6a07826be1dd71ed569aa800dc8b /mm/early_ioremap.c
parent005c674f705ee308e23b8e4e7047419d12122fde (diff)
downloadlinux-602d674ce90f64ac135452fb9b2b058acb53b226.tar.bz2
nvme-tcp: support C2HData with SUCCESS flag
A C2HData PDU with the SUCCESS flag set indicates that the I/O was completed by the controller successfully and means that a subsequent completion response capsule PDU will be ommitted. If we see this flag, fisrt we check that LAST_PDU flag is set as well, and then we complete the request when the data transfer (and data digest verification if its on) is done. While we're at it, reuse a bit of code with nvme_fail_request. Reported-by: Steve Blightman <steve.blightman@oracle.com> Suggested-by: Oliver Smith-Denny <osmithde@cisco.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Oliver Smith-Denny <osmithde@cisco.com> Tested-by: Oliver Smith-Denny <osmithde@cisco.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions