linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] fix fanotify issues with the series in v4.12
@ 2017-10-25  8:41 Miklos Szeredi
  2017-10-25  8:41 ` [PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait() Miklos Szeredi
                   ` (7 more replies)
  0 siblings, 8 replies; 29+ messages in thread
From: Miklos Szeredi @ 2017-10-25  8:41 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Jan Kara, Amir Goldstein, Xiong Zhou, linux-kernel

We discovered some problems in the latest fsnotify/fanotify codebase with
the help of a stress test (Xiong Zhou is working on upstreaming it to
fstests).

This series attempts to fix these.  With the patch applied the stress test
passes.

Please review/test.

Changes in v2 (only cosmetic fixes, no functional change):
 - split first patch into 3 parts to make it more readable
 - checkpatch fixes
 - added cleanup patch for fanotify

Thanks,
Miklos
---

Miklos Szeredi (7):
  fsnotify: clean up fsnotify_prepare/finish_user_wait()
  fsnotify: pin both inode and vfsmount mark
  fsnotify: fix pinning group in fsnotify_prepare_user_wait()
  fsnotify: skip unattached marks
  fanotify: fix fsnotify_prepare_user_wait() failure
  fsnotify: clean up fsnotify()
  fanotify: clean up CONFIG_FANOTIFY_ACCESS_PERMISSIONS ifdefs

 fs/notify/fanotify/fanotify.c      |  49 ++++++---------
 fs/notify/fanotify/fanotify.h      |   8 ++-
 fs/notify/fanotify/fanotify_user.c | 123 ++++++++++++++++++-------------------
 fs/notify/fsnotify.c               | 108 ++++++++++++++++----------------
 fs/notify/mark.c                   | 100 ++++++++++++++----------------
 include/linux/fsnotify_backend.h   |   2 -
 6 files changed, 184 insertions(+), 206 deletions(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2017-10-31 16:28 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25  8:41 [PATCH v2 0/7] fix fanotify issues with the series in v4.12 Miklos Szeredi
2017-10-25  8:41 ` [PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait() Miklos Szeredi
2017-10-25 12:06   ` Amir Goldstein
2017-10-25 12:07     ` Amir Goldstein
2017-10-25 14:15       ` Miklos Szeredi
2017-10-25  8:41 ` [PATCH v2 2/7] fsnotify: pin both inode and vfsmount mark Miklos Szeredi
2017-10-30 13:34   ` Jan Kara
2017-10-30 13:42     ` Miklos Szeredi
2017-10-30 14:05       ` Jan Kara
2017-10-25  8:41 ` [PATCH v2 3/7] fsnotify: fix pinning group in fsnotify_prepare_user_wait() Miklos Szeredi
2017-10-25  8:41 ` [PATCH v2 4/7] fsnotify: skip unattached marks Miklos Szeredi
2017-10-30 14:00   ` Jan Kara
2017-10-30 14:27     ` Miklos Szeredi
2017-10-25  8:41 ` [PATCH v2 5/7] fanotify: fix fsnotify_prepare_user_wait() failure Miklos Szeredi
2017-10-25  8:41 ` [PATCH v2 6/7] fsnotify: clean up fsnotify() Miklos Szeredi
2017-10-25 11:46   ` Amir Goldstein
2017-10-25  8:41 ` [PATCH v2 7/7] fanotify: clean up CONFIG_FANOTIFY_ACCESS_PERMISSIONS ifdefs Miklos Szeredi
2017-10-25 11:44   ` Amir Goldstein
2017-10-25 14:19     ` Miklos Szeredi
2017-10-30 17:20   ` Jan Kara
2017-10-25 14:31 ` [PATCH v2 0/7] fix fanotify issues with the series in v4.12 Miklos Szeredi
2017-10-25 15:13   ` Amir Goldstein
2017-10-27 11:53   ` Jan Kara
2017-10-30 15:56     ` Miklos Szeredi
2017-10-30 17:27     ` Jan Kara
2017-10-30 20:18       ` Miklos Szeredi
2017-10-31  9:54         ` Jan Kara
2017-10-31 11:02           ` Amir Goldstein
2017-10-31 16:27             ` Jan Kara

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).