Ronnie Sahlberg
1a5f267b1d
WRITE10: Set W bit to 1 only if we write data, i.e. number of blocks are >0
2011-04-04 18:47:32 +10:00
Ronnie Sahlberg
e7300bfb8b
READ10: only set R flag in iscsi if we are reading >0 blocks.
...
If we are reading 0 blocks, the R flag should be clear
2011-04-04 18:34:38 +10:00
Ronnie Sahlberg
5225b5fa66
Add definitions for ASCQ LBA-OUT-OF-RANGE
2011-04-04 17:40:13 +10:00
Ronnie Sahlberg
ec08fe7a45
Read10/Write10 parameters
...
LBA is uint32_t for read/write10
Also store the lba/numblocks arguments in the task structure for read10/write10
This makes it much easier to implement a fully async "read lots/write lots"
applications.
2011-01-23 18:34:16 +11:00
Ronnie Sahlberg
9ddce8dc24
Replace bzero() with memset()
2011-01-03 15:35:36 +11:00
Ronnie Sahlberg
8a6665a092
Licence
...
Change to LGPL 2.1+ to be compatible with kvm/qemu
2010-12-11 11:47:28 +11:00
Ronnie Sahlberg
709d85c4da
Add a COPYING file and updat ehte LGPL boilerplate
2010-12-05 11:11:37 +11:00
Ronnie Sahlberg
098bc5a9a7
Initial import of libiscsi
2010-12-05 08:24:57 +11:00