commit | 93ba75c90524618ef2c20979b0e660b9d071f0e6 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <kch@nvidia.com> | Wed Mar 30 02:40:32 2022 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 16 08:07:25 2022 +0200 |
tree | 559252d94463a7ac1d8ed7ec42cc205bc5e60473 | |
parent | b98235d3a471e121376bfabce27380dde5add1d9 [diff] |
nvme-fabrics: add a request timeout helper The RDAMA and TCP transport both complete the timed out request in the same manner and hence code is duplicated. Add and use the helper nvmf_complete_timed_out_request() to remove the duplicate code. Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>