Re: [PATCH] ieee1394: sbp2: pass REQUEST_SENSE through to the target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 28, 2006 at 03:21:45PM -0500, Douglas Gilbert wrote:
> So, this patch is a step in the right direction.
> Hopefully not too many other LLDs are playing
> games with REQUEST SENSE.

A lot of drivers play games with REQUEST_SENSE, but they mostly seem to
be doing things with their own internal state.  One suspicious one is
BusLogic.c :

        /*
           SCSI REQUEST_SENSE commands will be executed automatically by the Host
           Adapter for any errors, so they should not be executed explicitly unless
           the Sense Data is zero indicating that no error occurred.
         */
        if (CDB[0] == REQUEST_SENSE && Command->sense_buffer[0] != 0) {
                Command->result = DID_OK << 16;
                CompletionRoutine(Command);
                return 0;
        }

I don't know if this is OK for your scenario or not.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux