linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: flush and EIO errors when writepages fails
@ 2008-06-20 22:34 Steve French
  2008-06-21  7:05 ` Evgeniy Polyakov
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2008-06-20 22:34 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Shirish Pargaonkar, Dave Kleikamp, Jody French

> Right, but with the current implementation, once filemap_fdatawrite
> returns, any pages that that run touched are either written out or
> discarded.

That could explain some problems if true.  When writepages fails, we
make the pages as in error (PG_error flag?) and presumably they are
still dirty.   Why in the world would anyone free the pages just
because we failed the first time and need to write them again later?
Do you where (presumably in /mm) pages could be freed that are still
dirty (it is hard to find where the PG_error flag is checked etc)?

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <20080620073150.2bc9988e@tupile.poochiereds.net>]

end of thread, other threads:[~2008-06-23 18:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 22:34 flush and EIO errors when writepages fails Steve French
2008-06-21  7:05 ` Evgeniy Polyakov
2008-06-21 12:27   ` Jeff Layton
2008-06-21 13:19     ` Evgeniy Polyakov
2008-06-21 14:21       ` Jody French
2008-06-21 14:42         ` Evgeniy Polyakov
2008-06-21 16:15           ` Steve French
2008-06-21 16:28             ` Evgeniy Polyakov
2008-06-21 17:02               ` Steve French
2008-06-21 17:26                 ` Evgeniy Polyakov
2008-06-21 17:37                   ` Evgeniy Polyakov
2008-06-23 15:39         ` Dave Kleikamp
2008-06-23 18:05           ` Dave Kleikamp
     [not found] <20080620073150.2bc9988e@tupile.poochiereds.net>
     [not found] ` <OFE8C66E61.981E25D1-ON8725746E.0045A92A-8625746E.004718C0@us.ibm.com>
     [not found]   ` <20080620091542.09edb43f@tupile.poochiereds.net>
2008-06-20 16:19     ` Steve French (smfltc)
2008-06-20 16:34       ` Jeff Layton
2008-06-20 16:41         ` Steve French (smfltc)
2008-06-20 17:12           ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).