Re: [PATCH] SG_IO ioctl in block layer against lk 2.5.55

Jens Axboe
2003-01-10T13:06:22Z

On Fri, Jan 10 2003, Douglas Gilbert wrote:
> The attachment modifies the SG_IO ioctl that is in
> the block layer to:
> - convey the SCSI status value back via the sg_io_hdr
> structure
> - in the event of CHECK CONDITION, convey the sense
> buffer back via the sg_io_hdr structure
> - set "output" fields in sg_io_hdr structure to sane
> values
> - modify the errno behaviour to be more like the
> SCSI generic driver's SG_IO ioctl
>
> This patch was presented around lk 2.5.51 but fell between
> the cracks. The only modification is to take account of
> the changes to scsi/scsi_lib.c since then.

Doug,

Patch looks good to me, please feel free to send it to Linus.

--
Jens Axboe