On Thu, 26 May 2011 18:00:25 +0100
Simon Wilkinson <[email protected]> wrote:

> I haven't verified this, but my reading of the write code path
> suggests that iov_iter_copy_from_user_atomic() will only copy data
> that is available and we'll go round the loop in
> generic_perform_write(), firstly paging in the data, then beginning
> the write, until we can copy all of the requested data. So I would
> hope that this isn't an issue on modern systems.

Yeah, I see it now. Even if we don't manage to copy any data out, it's
just another iteration of the loop, so we keep retrying until it
succeeds.

That's what I wanted to know; thanks!

-- 
Andrew Deason
[email protected]

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to