Re: [PATCH] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h

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

 



On Wed, Sep 16, 2015 at 04:15:46PM +0200, Paolo Bonzini wrote:
> I'm trying to cater to the objections that were made to Andy's patch.
> If you mean the non-UAPI headers, James wanted them to stay in scsi/; if
> you mean the UAPI headers, Douglas complained about the flat structure
> of include/linux/.

Yes, keep the non-UAPI ones as is and move the UAPI ones to linux/ - the flat
structure is a feature, not a bug.

> > Also scsi/scsi.h has some additional ioctl defintions that should be
> > added to the UAPI scsi_ioctl.h.  Otherwise this looks ok to me.
> 
> I can do this, but I think they are obsoleted by SG_GET_SCSI_ID, except
> for SCSI_IOCTL_GET_PCI which is horrible anyway. :)  The comment about
> conflicts with CDROM ioctls is also interesting.  I can see why one
> would want to keep them out of the new canonical place for SCSI ioctls.

No point in hiding them.  We can still officially deprecate them, but I'd
much rather have them in a single place than hidden away somewhere.
--
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