On 02/08/15 03:33, Dmitry V. Levin wrote:
> On Fri, Feb 06, 2015 at 01:36:26PM +0100, Bart Van Assche wrote:
>> Changes:
>> - Add support for decoding iovecs passed via the SG I/O v3 interface.
>> - Decode the "data in" and "data out" buff
')
dd if=/dev/zero bs=512 count=1 |
./strace -s 256 sg_raw -s 512 -r 1024 $bsg 53 00 00 00 00 01 00 00 01 00
Signed-off-by: Bart Van Assche
---
configure.ac| 1 +
scsi.c | 233 ++--
xlat/bsg_protocol.in| 1 +
by passing pointers
to client memory as integers instead of pointers.
- Only print that part of the data in buffer that has been initialized
by the SCSI LLD driver.
Signed-off-by: Bart Van Assche
---
scsi.c | 60 +++-
1 file changed,
The Linux kernel supports two different versions of the SG_IO API,
namely v3 and v4. This patch adds support for version 4 of this API.
At least the sg3_utils package supports version 4 of this API. Version
4 of this API is used if /dev/bsg/H:C:I:L is used as device name.
Signed-off-by: Bart Van
Hello,
If anyone would like to add SG_IO v4 support in strace, the (very
lightly tested) patch below could be used as a starting point. Please
note that I'm not familiar with the strace code base.
Best regards,
Bart.
[PATCH] scsi: Add bsg support
The Linux kernel supports two diff
She needs YOU to grow your PENI!
http://save-money-on-groceries.net/atmosphere.html
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Im