linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] fsnotify: Cleanups
@ 2014-11-06 13:03 Jan Kara
  2014-11-06 13:03 ` [PATCH 1/3] fsnotify: Unify inode and mount marks handling Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jan Kara @ 2014-11-06 13:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, Heinrich Schuchardt, Eric Paris


  Hello,

  this patch series (applies on top of my fanotify fix) cleans up some
issues in the mark handling code I've spotted while looking at the
fanotify problem. It removes some code duplication and shrinks struct
fsnotify_mark by 4 pointers.

								Honza

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/3] fsnotify cleanups
@ 2015-07-27 18:45 Jan Kara
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Kara @ 2015-07-27 18:45 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Andrew Morton, Lino Sanfilippo, Eric Paris, Jan Kara

  Hello,

  after understanding some of the fsnotify mark handling code when fixing
the last race I've decided to use that knowledge to improve the documentation
and somewhat cleanup the code.

The first patch in the series documents locking rules for fsnotify marks.
The second patch gets rid of special purpose free_list list head in the
fsnotify mark structure and the third patch splits the
fsnotify_destroy_mark_locked() function so that it doesn't have the awkward
property of temporarily dropping mark_mutex which can cause unexpected issues
in the caller.

All the patches have survived beating with LTP inotify and fanotify tests
(including the test excercising inode & group destruction races).

								Honza

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

end of thread, other threads:[~2015-07-27 18:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 13:03 [PATCH 0/3] fsnotify: Cleanups Jan Kara
2014-11-06 13:03 ` [PATCH 1/3] fsnotify: Unify inode and mount marks handling Jan Kara
2014-11-06 13:03 ` [PATCH 2/3] fsnotify: Remove free_list list_head from fsnotify_mark Jan Kara
2014-11-06 13:03 ` [PATCH 3/3] fsnotify: Remove destroy_list " Jan Kara
2014-11-06 21:17   ` Heinrich Schuchardt
2014-11-10 10:30     ` Jan Kara
2014-11-10 12:54       ` Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2015-07-27 18:45 [PATCH 0/3] fsnotify cleanups 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).