Re: O_SYNC: How well do we support it?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Fri Jan 07 2000 - 08:17:41 EST


Hi,

On Wed, 05 Jan 2000 14:29:25 -0500, Peter Rival <frival@zk3.dec.com>
said:

> Very good to hear. :) I, being the know-nothing in filesystems that I
> am, have looked at it a little. I added back the updating of
> inode->u.ext2_i.i_osync in ext2_file_write (before and after
> generic_file_write), and I added this into generic_file_write right
> after the call to write_one_page (which is really
> block_write_partial_page):

> if (file->f_flags & O_SYNC)
> writeout_one_page(page);

> and that seems to have made some difference in the behavior, but I don't
> think that it's all that's necessary.

No, it's probably not. We also want to get fdatasync() working right,
so there's a bit more than this involved.

--Stephen

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



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:09 EST