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