Re: [PATCH] 4/7 cleanup/consolidate code in scsi_request_fn

Patrick Mansfield
2003-03-26T17:13:47Z

On Wed, Mar 26, 2003 at 12:07:25PM -0500, Luben Tuikov wrote:
> Patrick Mansfield wrote:
> > I don't care much one way or the other, but I don't like ok2queue.

> > Anyway, the following are fine with me:
> > scsi_dev_ready, scsi_host_ready
> > scsi_sdev_ready, scsi_shost_ready
> >
>
> The problem here is _again_ the implicitness of your definitions.
> ``ready'' is not better than ``check''. Why?
>
> result = X_ready(arg) --> whatever result, the question is
> ``ready (or not) _for__what_????''

OK -

scsi_sdev_queue_ready
scsi_shost_queue_ready
or
scsi_dev_queue_ready
scsi_host_queue_ready

-- Patrick Mansfield