diff options
author | Sagi Grimberg <[email protected]> | 2019-03-13 18:55:10 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-03-13 12:57:34 -0600 |
commit | 602d674ce90f64ac135452fb9b2b058acb53b226 (patch) | |
tree | 03f0a830518c6a07826be1dd71ed569aa800dc8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 005c674f705ee308e23b8e4e7047419d12122fde (diff) |
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 <[email protected]>
Suggested-by: Oliver Smith-Denny <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Oliver Smith-Denny <[email protected]>
Tested-by: Oliver Smith-Denny <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions