commit | cb019da3dabf60d792f76a913540815f06abb1d7 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Mon Nov 19 13:35:30 2018 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 07 22:26:58 2018 -0700 |
tree | 2af71cc0ebc72240ab30466e3437a0ba18b582d1 | |
parent | ad1f824948e4ed886529219cf7cd717d078c630d [diff] |
nvmet: use unlikely for req status check This patch adds unlikely in the nvmet request completion path for the status check in the low level function __nvmet_req_complete. This is helpful in the scenario where host and target connection is working smoothly. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>