Re: support of sg_iovec in bsg's struct sg_io_v4

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

 



On Wed, 14 Jan 2009 20:01:07 +0200
Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:

> Is below just missing or is there something I do not understand?
> 
> It looks like the conversion from struct sg_io_hdr to struct sg_io_v4 the use
> of sg_iovec was dropped. Even though all the members and code comments
> say it is the same.

It's intentional. It has been discussed several times on linux-scsi.


> This adds the support in bsg and struct sg_io_v4 exactly in the same way
> it was done in sg with struct sg_io_hdr.

sg_io_v4 will not support sg_iovec.


> BTW why is the ioctl SG_IO defined exactly the same for sg.c and bsg.c
> even though they have none compatible API/ABI? Is that because we have the
> protection of the first __s32 member that is 'Q' for bsg and 'S' or 0 for
> sg? Is that usually done with ioctl's?

I don't know if it's common or not. But we did the same thing with sg
v2 and sg v3's read/write interface.
--
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