From: "J. Bruce Fields" <bfields@fieldses.org>
To: John Muir <john@jmuir.com>
Cc: fuse-devel <fuse-devel@lists.sourceforge.net>,
Miklos Szeredi <miklos@szeredi.hu>,
Linux-Fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: [PATCH] FUSE: Notifying the kernel of deletion.
Date: Tue, 6 Dec 2011 15:42:37 -0500 [thread overview]
Message-ID: <20111206204237.GA12640@fieldses.org> (raw)
In-Reply-To: <0A8705AE-7D02-4B27-B67E-81BC18BA568C@jmuir.com>
On Tue, Dec 06, 2011 at 09:08:48PM +0100, John Muir wrote:
> On 2011.12.06, at 21:03 , J. Bruce Fields wrote:
>
> > On Tue, Dec 06, 2011 at 07:50:33PM +0100, John Muir wrote:
> >> Allows a FUSE file-system to tell the kernel when a file or directory is deleted. If the specified dentry has the specified inode number, the kernel will unhash it.
> >>
> >> Signed-off-by: John Muir <john@jmuir.com>
> >> ---
> >> Please find below a patch that add notification of deletion to the FUSE kernel interface. These patches allow the file-system to tell the kernel when a file (and more particularly) a directory is deleted. This is needed because using the current 'notify_inval_entry' does not cause the kernel to clean up directories that are in use properly, and as a result the users of those directories see incorrect semantics from the file-system. The error condition seen when 'notify_inval_entry' is used to notify of a deleted directory is avoided when 'notify_delete' is used instead.
> >
> > You've put all this extra text after the ---, meaning it would be
> > discarded before going into git. But this sort of "why we're doing
> > this" information is exactly what you want in a changelog.
> >
> > --b.
>
> I was aware of this. My intention was that the first two lines would be in the change log, given that my explanation was rather long. If it isn't too long, and the full explanation can go into the change log, I can definitely re-submit.
For me, sure, changelog bytes are cheap, and a summary of the patch is
nice but never as useful as "here's why we're doing it".
--b.
prev parent reply other threads:[~2011-12-06 20:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 18:50 [PATCH] FUSE: Notifying the kernel of deletion John Muir
2011-12-06 20:03 ` J. Bruce Fields
2011-12-06 20:08 ` John Muir
2011-12-06 20:42 ` J. Bruce Fields [this message]
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=20111206204237.GA12640@fieldses.org \
--to=bfields@fieldses.org \
--cc=fuse-devel@lists.sourceforge.net \
--cc=john@jmuir.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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).