Messages in this thread | | | Subject | Re: [PATCH scsi] Add NULL checking of return value from scsi_cmd_to_driver() | From | James Bottomley <> | Date | Fri, 28 Sep 2012 08:48:18 +0100 |
| |
On Thu, 2012-09-27 at 13:41 -0400, Martin K. Petersen wrote: > >>>>> "James" == James Bottomley <James.Bottomley@HansenPartnership.com> writes: > > >> I'm fine with having the eh action be triggered for FS requests only, > >> if that's what you're asking? > > James> Sort of ... I was thinking do it for all non REQ_TYPE_BLOCK_PC > James> commands (which includes flush and other strange types), but if > James> you think it should only be for REQ_TYPE_FS, that's fine too. > > I'm ok either way.
OK, let's mirror the code in scsi.c then, so != REQ_TYPE_BLOCK_PC.
James
| |