Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Heikki Linnakangas
On Sun, 31 Oct 2004, Tom Lane wrote: Heikki Linnakangas <[EMAIL PROTECTED]> writes: The Linux [ext2] fsync man page says: "It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync on the file descriptor of the directory is

Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Heikki Linnakangas
On Mon, 1 Nov 2004, Oliver Jowett wrote: Heikki Linnakangas wrote: The Linux fsync man page says: "It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync on the file descriptor of the directory is also needed." AFAIK,

Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Joshua D. Drake
In general we expect the filesystem to take care of its own metadata. Run ext3 in journaling mode, or something like that. (It occurs to me that the admin guide really ought to have a few words about recommended and non-recommended filesystems ...) Well I am not their admin, but I don't suggest

Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Andrew Dunstan
Tom Lane wrote: Heikki Linnakangas <[EMAIL PROTECTED]> writes: The Linux [ext2] fsync man page says: "It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync on the file descriptor of the directory is also needed."

Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Tom Lane
Heikki Linnakangas <[EMAIL PROTECTED]> writes: > The Linux [ext2] fsync man page says: > "It does not necessarily ensure that the entry in the directory > containing the file has also reached disk. For that an explicit fsync on > the file descriptor of the directory is also needed." This seems s

Re: [HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Oliver Jowett
Heikki Linnakangas wrote: The Linux fsync man page says: "It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync on the file descriptor of the directory is also needed." AFAIK, we don't care about it at the moment. The

[HACKERS] fsync, ext2 on Linux

2004-10-31 Thread Heikki Linnakangas
The Linux fsync man page says: "It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync on the file descriptor of the directory is also needed." AFAIK, we don't care about it at the moment. The actual behaviour depends