Re: SCSI Generic version 4 interface, release 1.2

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

 



From: Douglas Gilbert <dougg@xxxxxxxxxx>
Subject: SCSI Generic version 4 interface, release 1.2
Date: Wed, 14 Mar 2007 12:18:16 -0400

>   - the write() usage in the sg driver's asynchronous interface has
>   caused problems when mistakenly applied to a block device node
>   rather than a sg device node. Using an ioctl(flag_async) followed
>   by a read() for asynchronous work offers similar functionality and
>   is safer. Using ioctl(flag_async_start) and
>   ioctl(flag_async_finish) is another possibility.

I'm not sure about this because users read/write via /dev/bsgX not
/dev/sdX.

Anyway, I'm not sure the read/write interface is good for bsg.


>   - the SCSI command tag field as currently defined in SAM-4 can be
>     up to 64 bits (with a proposal to increase that to 96 bits for FCP)
>     Should we let the transport layer/LLD worry about that?

SRP uses 64-bits tags.
-
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