NetBSD/share/examples/refuse
agc 8b0e0ddc0d The iSCSI target returns the 0-based Max LBA in the READ_CAPACITY command,
and we need to add 1 to it to get the size of the LUN.

Revert Max LBA calculation when returning the Maximum LBA from the target
to the iinitiator, following an email conversation with Jonathan Kollasch,
who points out a number of things:

+ the NetBSD scsipi driver reads the value returned by the drive and adds
one to it, so that standard SCSI drives return the 0-based Max LBA in a
READ CAPACITY command.

+ it is up to the initiator to add 1 to the Max LBA to find out the size
of the LUN (Jonathan verified this by using the UNH iSCSI initiator on
to a NetBSD target)

+ an analogous change to the NetBSD target (revision 1.34 of
disk.c) is needed.
2007-11-18 23:52:13 +00:00
..
dbfs
dmesgfs Another day, another file system. 2007-05-21 21:29:23 +00:00
fanoutfs Fix xref, sort SEE ALSO. Add RCS Id. 2007-09-11 23:26:13 +00:00
ian Modify the NetBSD emulation of the FreeBSD __DECONST macro to include 2007-08-29 22:28:23 +00:00
icfs Initial import of icfs, a case-insensitive/retentive file system. 2007-06-21 22:05:28 +00:00
id3fs Adapt to new signature for virtdir_add(). 2007-05-21 21:19:25 +00:00
iscsi-initiator The iSCSI target returns the 0-based Max LBA in the READ_CAPACITY command, 2007-11-18 23:52:13 +00:00
pcifs Adapt to new signature for virtdir_add(). 2007-05-21 21:19:25 +00:00
virtdir Only use the bottom 20bits for an inode number to prevent the inode number creeping out of range for fts 2007-11-11 09:31:31 +00:00