On Fri, Nov 21, 2014 at 11:39 AM, Al Viro [off-list ref] wrote:
I'm not at all sure that _anything_ has valid reasons for draining iovecs.
Maintaining a struct iov_iter and modifying it is easy and actually faster...
For new code, I agree. But the whole "draining iovec's" is a fairly
common old model.
Linus