[lkml]   [2001]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: generic_file_write code segment in 2.2.18
On Thu, Jan 04, 2001 at 10:42:34PM +0000, Stephen C. Tweedie wrote:
> No, because then you'd be skipping the updatepage() call if we took a
> fault mid-copy after copying some data. That would imply you had
> dirtied the page cache without an updatepage().
> The current behaviour should just result in a short IO, which should
> be fine.

The problem is that the short write is not reported to the caller, even when only
zero bytes are copied (the page is corrupted anyways though because cfu
zeros the uncopied rest).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.042 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site