As long as the second patch is in, what value rq->data_len indicates
doesn't matter to drivers which don't use explicit padding or draining,
so the situation is much more controlled. I don't care which value
rq->data_len would indicate. I'd prefer it equal sum(sg) as that value
is what IDE and libata which will be the major users of padding and/or
draining expect in rq->data_len but fixing up that shouldn't be too
difficult. I guess this can be determined by Jens. If Jens likes
rq->data_len to contain requested transfer size, I'll post updated patches.
Still, do you really wanna force such things into low level drivers?
That will be one extremely fragile API and will be really difficult to
tell when things go wrong.
--
tejun
--