lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [rfc patch 3/4] splice: remove confirm from pipe_buf_operations
From
Date
> > > > 
> > > > Let's start with page_cache_pipe_buf_confirm(). How should we deal
> > > > with finding an invalidated page (!PageUptodate(page) &&
> > > > !page->mapping)?
> > >
> > > I suspect we just have to use it. After all, it was valid when the read
> > > was done. The fact that it got invalidated later is kind of immaterial.
> >
> > Right. But what if it's invalidated *before* becoming uptodate (if
> > you'd read my mail further, I discussed this).
>
> Please ignore, this can't happen of course due to page locking...

Or it can only happen if there was an I/O error on reading the page.

So it's an issue after all...

Miklos


\
 
 \ /
  Last update: 2008-06-24 21:35    [W:0.049 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site