linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [GIT PULL] Fsnotify cleanups
Date: Mon, 11 Jun 2018 22:51:13 +0300	[thread overview]
Message-ID: <CAOQ4uxhV1v=7K+opj3fui7H-B6hDgAOcXM1yoAgTPaMNnk6=dw@mail.gmail.com> (raw)
In-Reply-To: <CAOQ4uxg+-oiY-ykLhe4+nt7QeP5oCp_4HNgGOPZ-8GVJ-nod7g@mail.gmail.com>

On Mon, Jun 11, 2018 at 7:38 PM, Amir Goldstein <amir73il@gmail.com> wrote:
> On Mon, Jun 11, 2018 at 7:03 PM, Jan Kara <jack@suse.cz> wrote:
>> On Mon 11-06-18 16:58:14, Amir Goldstein wrote:
>>> On Mon, Jun 11, 2018 at 4:36 PM, Jan Kara <jack@suse.cz> wrote:
>>> > > I reworked the cleanup patches to get rid of fsnotify_obj and pushed to:
>>> > > https://github.com/amir73il/linux.git fsnotify-cleanup
>>> >
>>> > Thanks!
>>> >
>>> > > Only last 5 patches from fsnotify_for_v4.18-rc1 have been modified
>>> > > and I removed your S-O-B from the modified patches.
>>> > >
>>> > > This leaves struct inode unchanged, in fact no changes to code outside
>>> > > fsnotify/audit at all.
>>> > >
>>> > > mask is now a member of connector for the purpose of generalizing
>>> > > add/remove mark, but struct inode/mount still have a copy of the mask
>>> > > for the purpose of the VFS optimizations.
>>> >
>>> > Looking through those patches, is it really beneficial to add mask to
>>> > connector when you keep it in inode / vfsmount? A helper function to get
>>> > mask from connector would make the same refactoring possible as well, won't
>>> > it?
>>> >
>>> > And adding a helper function to set mask given connector would get rid of
>>> > the remaining checks for connector type due to mask manipulations...
>>> >
>>>
>>> By moving the checks for object type into the helper?
>>
>> Yes, that's what I meant.
>>

Force pushed cleaner cleanup with helper to same branch.

Naturally, that one also passes the LTP tests.

Thanks!
Amir.

  reply	other threads:[~2018-06-11 19:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07 15:02 [GIT PULL] Fsnotify cleanups Jan Kara
2018-06-07 16:34 ` Linus Torvalds
2018-06-08 13:27   ` Jan Kara
2018-06-08 20:34     ` Linus Torvalds
2018-06-09  6:57       ` Amir Goldstein
2018-06-09  8:00         ` Amir Goldstein
2018-06-11 16:12           ` Jan Kara
2018-06-11 16:31             ` Amir Goldstein
2018-06-09 17:30         ` Linus Torvalds
2018-06-09 18:46           ` Amir Goldstein
2018-06-10 17:49             ` Amir Goldstein
2018-06-11 13:36               ` Jan Kara
2018-06-11 13:58                 ` Amir Goldstein
2018-06-11 16:03                   ` Jan Kara
2018-06-11 16:38                     ` Amir Goldstein
2018-06-11 19:51                       ` Amir Goldstein [this message]
2018-06-13 13:21                         ` Jan Kara
2018-06-13 13:56                           ` Amir Goldstein
2018-06-13 22:17                             ` Amir Goldstein
2018-06-22 16:44                               ` Jan Kara
2018-06-23  7:42                                 ` Amir Goldstein
2018-06-11 11:08       ` Jan Kara

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='CAOQ4uxhV1v=7K+opj3fui7H-B6hDgAOcXM1yoAgTPaMNnk6=dw@mail.gmail.com' \
    --to=amir73il@gmail.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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).