1SCSI_EH_GET_SENSE(9) SCSI mid layer SCSI_EH_GET_SENSE(9)
2
3
4
6 scsi_eh_get_sense - Get device sense data.
7
9 int scsi_eh_get_sense(struct list_head * work_q,
10 struct list_head * done_q);
11
13 work_q
14 Queue of commands to process.
15
16 done_q
17 Queue of processed commands.
18
20 See if we need to request sense information. if so, then get it now, so
21 we have a better idea of what to do.
22
24 This has the unfortunate side effect that if a shost adapter does not
25 automatically request sense information, we end up shutting it down
26 before we request it.
27
28 All drivers should request sense information internally these days, so
29 for now all I have to say is tough noogies if you end up in here.
30
32 Long term this code should go away, but that needs an audit of all
33 LLDDs first.
34
36 James Bottomley <James.Bottomley@hansenpartnership.com>
37 Author.
38
39 Rob Landley <rob@landley.net>
40 Author.
41
43Kernel Hackers Manual 2.6. November 2011 SCSI_EH_GET_SENSE(9)