Re: IDE CDROM packet command buffer size restriction.
Jens Axboe (axboe@suse.de)
Sat, 2 Nov 2002 10:20:40 +0100
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/