From: "J. Bruce Fields" <bfields@fieldses.org>
To: Jamie Lokier <jamie@shareable.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
Sylvain Rochet <gradator@gradator.net>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-nfs@vger.kernel.org
Subject: Re: PROBLEM: 2.6.35.7 to 3.0 Inotify events missing
Date: Sun, 21 Aug 2011 13:07:14 -0400 [thread overview]
Message-ID: <20110821170714.GB9296@fieldses.org> (raw)
In-Reply-To: <20110820030335.GA14899@jl-vm1.vm.bytemark.co.uk>
On Sat, Aug 20, 2011 at 04:03:35AM +0100, Jamie Lokier wrote:
> Well you still have your sense of humour...
>
> I've never understood why you think it's about the file manager /
> desktop, or why you so strongly dislike the feature. It originated
> there historically, but that is not it's primary use.
>
> The implementation, sure, but you seem to dislike the very *principle*
> of subscribing to changes.
>
> Every interesting use of inotify that I've seen is for some kind of
> cache support, to eliminate the majority of stat() calls, to remove
> disk I/O (no stat means no inode), to ensure correctness (st_mtime is
> coarse and unreliable),
It seems rather fragile as an mtime replacement unless it's also got
some sort of logging built in at a pretty low level so that you don't
lose events while you're not listening.
And of course events have to be defined very carefully to avoid problems
such as this one.
> and to avoid having to modify every
> application which might affect any file from which cached items are
> derived to explicitly notify all the applications which might use any
> of those files.
>
> You like high performance, reliable and correct behaviour, and high
> scalability. So I have never understood why you dislike the
> change-subscription principle so strongly, because it is a natural
> ally to those properties.
I don't think we've seen a design that does all of that yet.
--b.
next prev parent reply other threads:[~2011-08-21 17:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 22:35 PROBLEM: 2.6.35.7 " Sylvain Rochet
2011-08-19 23:03 ` PROBLEM: 2.6.35.7 to 3.0 " Sylvain Rochet
2011-08-19 23:37 ` Jamie Lokier
2011-08-20 0:47 ` Sylvain Rochet
2011-08-20 3:21 ` Jamie Lokier
2011-08-20 1:29 ` Al Viro
2011-08-20 1:43 ` Randy Dunlap
2011-08-20 2:01 ` Al Viro
2011-08-20 3:03 ` Jamie Lokier
2011-08-21 17:07 ` J. Bruce Fields [this message]
2011-08-21 20:20 ` Jamie Lokier
2011-08-21 23:07 ` NeilBrown
2011-08-22 17:22 ` J. Bruce Fields
2011-08-22 23:21 ` NeilBrown
2011-08-25 21:47 ` Sylvain Rochet
2011-08-21 22:29 ` NeilBrown
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=20110821170714.GB9296@fieldses.org \
--to=bfields@fieldses.org \
--cc=gradator@gradator.net \
--cc=jamie@shareable.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/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
all inboxes | Powered by JetHome®