Re: IDE CDROM packet command buffer size restriction.

From: Jens Axboe (axboe@suse.de)
Date: Sat Nov 02 2002 - 04:20:40 EST


On Sat, Nov 02 2002, chrisl@vmware.com wrote:
> On Fri, Nov 01, 2002 at 01:10:45PM +0100, Jens Axboe wrote:
> > > We make a patch allow kernel return successful and return the actual
> > > transfer data size. Is it the prefer behavior in this case? If not,
> > > what is the best way to solve this problem?
> >
> > The patch does look good, thanks.
>
> Sasha just find my change to the patch has some fault. The pc.buflen
> changed after cdrom_queue_packet_command. So his original patch
> is more correct.
>
> I paste it here again. I am sorry for the confusion.

Depends on whether you want the residual or the amount transferred.
Amount transferred probably makes more sense here, I agree.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:23 EST