[SCSI] bsg: update sg_io_v4 structure
authorFUJITA Tomonori <tomof@acm.org>
Sun, 29 Jul 2007 14:00:46 +0000 (23:00 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 31 Jul 2007 15:43:05 +0000 (10:43 -0500)
commit0c6a89ba640d28e1dcd7fd1a217d2cfb92ae4953
treef222695dfb6def9299717dd23f729c15fdd96919
parentdb47c2d8d98a76083a88ec53f44cc74c48dfd1e8
[SCSI] bsg: update sg_io_v4 structure

This updates sg_io_v4 structure (based on Doug's RFC, release 1.3).

The major changes are:

- add dout_resid field
- increase tag size to 64 bits to comply with SAM-4 and SRP
- add dout_iovec_count and din_iovec_count

dout_iovec_count and din_iovec_count aren't supported now. I'm not
sure whether they will be supported or not but they were added for the
possible future changes.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
block/bsg.c
include/linux/bsg.h