diff options
author | John Garry <john.garry@huawei.com> | 2022-07-06 14:03:49 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-06 14:33:53 +0200 |
commit | deef1be18e3fc62ddf04fb3e5e8ff6a301693dcc (patch) | |
tree | 50b2d25a658566642d79dbc2ecb08464ae801f0d /Documentation/scsi/scsi_eh.rst | |
parent | blk-cgroup: factor out blkcg_free_all_cpd() (diff) | |
download | linux-deef1be18e3fc62ddf04fb3e5e8ff6a301693dcc.tar.xz linux-deef1be18e3fc62ddf04fb3e5e8ff6a301693dcc.zip |
scsi: core: Remove reserved request time-out handling
The SCSI core code does not currently support reserved commands. As such,
requests which time-out would never be reserved, and scsi_timeout()
'reserved' arg should never be set.
Remove handling for reserved requests, drop the wrapper scsi_timeout()
as it now just calls scsi_times_out() always, and finally rename
scsi_times_out() -> scsi_timeout() to match the blk_mq_ops method name.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/1657109034-206040-2-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/scsi/scsi_eh.rst')
-rw-r--r-- | Documentation/scsi/scsi_eh.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/scsi/scsi_eh.rst b/Documentation/scsi/scsi_eh.rst index 885395dc1f15..bad624fab823 100644 --- a/Documentation/scsi/scsi_eh.rst +++ b/Documentation/scsi/scsi_eh.rst @@ -87,8 +87,7 @@ with the command. 1.2.2 Completing a scmd w/ timeout ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The timeout handler is scsi_times_out(). When a timeout occurs, this -function +The timeout handler is scsi_timeout(). When a timeout occurs, this function 1. invokes optional hostt->eh_timed_out() callback. Return value can be one of |