Re: [PATCH] filemap_fdatasync & related changes

From: Chris Mason (mason@suse.com)
Date: Wed Jan 03 2001 - 11:37:46 EST


Hi guys,

Just noticed the filemap_fdatasync code doesn't check the return value from
writepage. Linus, would you take a patch that redirtied the page, puts it
back onto the dirty list (at the tail), and unlocks the page when writepage
returns 1?

That would loop forever if the writepage func kept returning 1 though...I
think that's what we want, unless someone like ramfs made a writepage func
that always returned 1.

For the reiserfs code, I'd like to be able to tell page_launder and
filemap_fdatasync to try the page again later. reiserfs would clean and
unlock the page if no io needs to be done at all.

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:15 EST