lkml.org 
[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: synchronous mounts
Hi,

On Thu, Nov 15, 2001 at 02:02:54PM -0800, Andrew Morton wrote:
>
> So shall we try to nail this down? Synchronous mounts and chattr +S
> provide synchronous semantics for directory contents, diretory metadata
> and directory inodes only. And fsync() will write out a file's data,
> metadata and inode?

Sounds sane. UFS sync mounts also update the inode bitmaps
synchronously, and in order, so that they can tell exactly when an
inode is valid. I guess that we don't need that, at least on ext2,
since the i_dtime gives us the necessary information automatically.

> If this is correct then there are a few places where ext2 is
> syncing stuff unnecessarily - file indirect blocks, etc. Not
> very important at this stage I guess.

It's important for people running MTAs which expect dir sync
behaviour: admins have to pay the performance cost of all file updates
being sync as well as the directory updates if they enable chattr +S
on the dir.

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

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.119 / U:35.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site