1SCSI_EH_GET_SENSE(9)            SCSI mid layer            SCSI_EH_GET_SENSE(9)
2
3
4

NAME

6       scsi_eh_get_sense - Get device sense data.
7

SYNOPSIS

9       int scsi_eh_get_sense(struct list_head * work_q,
10                             struct list_head * done_q);
11

ARGUMENTS

13       work_q
14           Queue of commands to process.
15
16       done_q
17           Queue of processed commands.
18

DESCRIPTION

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

NOTES

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

XXX

32       Long term this code should go away, but that needs an audit of all
33       LLDDs first.
34

AUTHORS

36       James Bottomley <James.Bottomley@hansenpartnership.com>
37           Author.
38
39       Rob Landley <rob@landley.net>
40           Author.
41
43Kernel Hackers Manual 3.10         June 2019              SCSI_EH_GET_SENSE(9)
Impressum