linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Xavier Roche <roche+kml2@exalead.com>
Cc: Christoph Hellwig <hch@lst.de>,
	libc-alpha@sourceware.org, linux-fsdevel@vger.kernel.org
Subject: Re: aio_fsync() a directory ?
Date: Wed, 24 Apr 2013 07:33:26 +0100	[thread overview]
Message-ID: <20130424063326.GN4068@ZenIV.linux.org.uk> (raw)
In-Reply-To: <51776E22.1050502@exalead.com>

On Wed, Apr 24, 2013 at 07:31:14AM +0200, Xavier Roche wrote:
> On 04/24/2013 04:48 AM, Christoph Hellwig wrote:
> >This change is completely contrary to real world behaviour.  No modern
> >filesystem I know of implements this behaviour as the default, and performance
> >with the coresponding mount options (usually -o dirsync on Linux) is terrible
> >as it forces a write out of the log (or corresponding action on non-log based
> >filesystems) and in the common case of volatile write caches a cache flush.
> >
> >Retrospectively claiming this as standards behaviour in a "clarification"
> >is utterly wrong.
> 
> As I understand the wording, the original intent was to have all
> file operations synchronized (ie. operation committed permanently)
> at the "beginning" of the specification. The updated one suggests
> that an implementation may be non-conformant, and allow fsync() on a
> directory entry.

Original intent of _what_?  With all due respect, original intent of
Austin Group is none of our concern - "we had always intended to make
that promise on your behalf, now we'd simply got around to saying so
clearly" inspires many things, but "oh, sure, it's binding for us now"
is *not* one of those.  Suggestions to do anatomically impossible things,
OTOH...

  reply	other threads:[~2013-04-24  6:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <513EEF07.5090901@3ds.com>
     [not found] ` <20130408212729.ED7592C085@topped-with-meat.com>
     [not found]   ` <5163BA06.30600@exalead.com>
     [not found]     ` <20130411225058.989CB2C07B@topped-with-meat.com>
     [not found]       ` <5167A305.1010506@exalead.com>
     [not found]         ` <5174FFBA.8030301@exalead.com>
2013-04-24  2:48           ` aio_fsync() a directory ? Christoph Hellwig
2013-04-24  5:31             ` Xavier Roche
2013-04-24  6:33               ` Al Viro [this message]
2013-04-24 16:34                 ` Roland McGrath
2013-04-24 16:54                   ` Xavier Roche
2013-04-24 22:05                     ` Rich Felker
2013-04-25  2:32                       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130424063326.GN4068@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=hch@lst.de \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=roche+kml2@exalead.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).