>>>>> "Jens" == Jens Axboe <jens.axboe@oracle.com> writes:
Jens> On Tue, Oct 23 2007, David Miller wrote:
Jens> Great, thanks for testing that as well. Thinking a bit more
Jens> about it, I think the forced clear should stay in
Jens> blk_rq_map_sg() since we don't want to advertise it to
Jens> drivers. So I'll just open-code it in there.
Should there be more bounds checking here, so that if you try to do a
_force() you at least check to make sure that there's something beyond
there and useable on the list?
We're saving the time from not reallocating from scratch, but let's
make it robust by doing at least some more checks here.
John
-