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
5effbca6
Commit
5effbca6
authored
May 28, 2004
by
Brian King
Committed by
Christoph Hellwig
May 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ipr scsi busy io hang
Signed-off-by:
James Bottomley
<
James.Bottomley@SteelEye.com
>
parent
f455d910
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/scsi/ipr.c
drivers/scsi/ipr.c
+5
-1
No files found.
drivers/scsi/ipr.c
View file @
5effbca6
...
...
@@ -2884,6 +2884,7 @@ static int ipr_slave_alloc(struct scsi_device *sdev)
(
res
->
cfgte
.
res_addr
.
lun
==
sdev
->
lun
))
{
res
->
sdev
=
sdev
;
res
->
add_to_ml
=
0
;
res
->
in_erp
=
0
;
sdev
->
hostdata
=
res
;
res
->
needs_sync_complete
=
1
;
break
;
...
...
@@ -3435,8 +3436,10 @@ static void ipr_erp_done(struct ipr_cmnd *ipr_cmd)
SCSI_SENSE_BUFFERSIZE
);
}
if
(
res
)
if
(
res
)
{
res
->
needs_sync_complete
=
1
;
res
->
in_erp
=
0
;
}
ipr_unmap_sglist
(
ioa_cfg
,
ipr_cmd
);
list_add_tail
(
&
ipr_cmd
->
queue
,
&
ioa_cfg
->
free_q
);
scsi_cmd
->
scsi_done
(
scsi_cmd
);
...
...
@@ -3756,6 +3759,7 @@ static void ipr_erp_start(struct ipr_ioa_cfg *ioa_cfg,
ipr_erp_cancel_all
(
ipr_cmd
);
return
;
}
res
->
needs_sync_complete
=
1
;
break
;
case
IPR_IOASC_NR_INIT_CMD_REQUIRED
:
break
;
...
...
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