From: Andrew Morton <akpm@linux-foundation.org>
To: Evgeniy Polyakov <zbr@ioremap.net>
Cc: john@johnmccutchan.com, arnd@arndb.de, mtk.manpages@gmail.com,
hch@lst.de, rlove@rlove.org, linux-api@vger.kernel.org,
linux-kernel@vger.kernel.org, pavel@suse.cz,
davidn@davidnewall.com, Eric Paris <eparis@redhat.com>
Subject: Re: [take2] Inotify: nested attributes support.
Date: Wed, 26 Nov 2008 00:15:38 -0800 [thread overview]
Message-ID: <20081126001538.4b1c7c99.akpm@linux-foundation.org> (raw)
In-Reply-To: <20081126074239.GA17525@ioremap.net>
On Wed, 26 Nov 2008 10:42:39 +0300 Evgeniy Polyakov <zbr@ioremap.net> wrote:
> Hi Andrew.
>
> On Tue, Nov 25, 2008 at 04:24:34PM -0800, Andrew Morton (akpm@linux-foundation.org) wrote:
> > I guess I'm being more than usually thick, but I don't understand what
> > this is all about, why it was implemented, what value it provides to
> > users, etc, etc? Why do I want scalable nested attributes in inotify??
>
> Originally I just wanted to have a PID value in the inotify events, so
> reused cookie for that, but people rather vocally rised against this. So
> solution is to extend its structure. It would be possible just to add
> couple more bytes and store data there, but if we will want to add some
> more data into event later, we will have to implement inotify3 and so
> on. So I implemented a way to put essentially any number of new and old
> events in any order, turn then on and off, and do not care about
> possible limitation of the structure. As example I added PID, TID,
> write IO start/size and name attributes.
OK, so we have a super-duper framework which will allow us to add pids
(and other things) to inotify messages.
This still doesn't provide a reason for anyone to be interested in the
code! Why do we want pids in inotify messages?
And how does this work give that pids are (no longer) system-wide unique?
> > I'm buried in patches which I don't understand lately, and having
> > hundreds of people send patches at one guy who doesn't understand them
> > isn't a good system. Eric Paris is working on inotify-type things as
> > well. It would be neat if you guys were to understand and review each
> > other's work. Please.
>
> No problem, I will review patches if added to the copy. I'm not
> subscsribed to linux-kernel@ so will miss them otherwise.
Thanks.
next prev parent reply other threads:[~2008-11-26 8:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 19:42 Evgeniy Polyakov
2008-11-25 19:44 ` [take2] Inotify: nested attributes test application Evgeniy Polyakov
2008-11-26 0:24 ` [take2] Inotify: nested attributes support Andrew Morton
2008-11-26 7:42 ` Evgeniy Polyakov
2008-11-26 8:15 ` Andrew Morton [this message]
2008-11-26 8:29 ` Evgeniy Polyakov
2008-11-26 8:38 ` Andrew Morton
2008-11-26 8:46 ` Evgeniy Polyakov
2008-11-26 12:47 ` David Newall
2008-11-26 12:51 ` Evgeniy Polyakov
2008-11-26 13:03 ` David Newall
2008-11-26 13:15 ` Evgeniy Polyakov
2008-12-04 8:43 ` Pavel Machek
2008-12-04 9:09 ` Evgeniy Polyakov
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=20081126001538.4b1c7c99.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=davidn@davidnewall.com \
--cc=eparis@redhat.com \
--cc=hch@lst.de \
--cc=john@johnmccutchan.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
--cc=pavel@suse.cz \
--cc=rlove@rlove.org \
--cc=zbr@ioremap.net \
/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
Powered by JetHome