Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
aecc28ce
Commit
aecc28ce
authored
Oct 02, 2002
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] remove comment that every host is expected to be able to queue at least one command
parent
39252446
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+6
-4
No files found.
drivers/scsi/scsi.c
View file @
aecc28ce
...
@@ -616,10 +616,12 @@ static int scsi_mlqueue_insert(Scsi_Cmnd * cmd, int reason)
...
@@ -616,10 +616,12 @@ static int scsi_mlqueue_insert(Scsi_Cmnd * cmd, int reason)
* If the host/device isn't busy, assume that something actually
* If the host/device isn't busy, assume that something actually
* completed, and that we should be able to queue a command now.
* completed, and that we should be able to queue a command now.
*
*
* Note that there is an implicit assumption that every host can
* Note that the prior mid-layer assumption that any host could
* always queue at least one command. If a host is inactive and
* always queue at least one command is now broken. The mid-layer
* cannot queue any commands, I don't see how things could
* will implement a user specifiable stall (see
* possibly work anyways.
* scsi_host.max_host_blocked and scsi_device.max_device_blocked)
* if a command is requeued with no other commands outstanding
* either for the device or for the host.
*/
*/
if
(
reason
==
SCSI_MLQUEUE_HOST_BUSY
)
{
if
(
reason
==
SCSI_MLQUEUE_HOST_BUSY
)
{
host
->
host_blocked
=
host
->
max_host_blocked
;
host
->
host_blocked
=
host
->
max_host_blocked
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment