On Wed, Jan 25, 2017 at 4:42 PM, Marko Rauhamaa <marko.rauhamaa@xxxxxxxxxxxx> wrote: > Amir Goldstein <amir73il@xxxxxxxxx>: > >> On Wed, Jan 25, 2017 at 4:06 PM, Marko Rauhamaa >> <marko.rauhamaa@xxxxxxxxxxxx> wrote: >>> Amir Goldstein <amir73il@xxxxxxxxx>: >> So I am confused. >> Your test program sets a watch on permission events on the mount >> and does not respond to permission events on the mount, so all >> file system operations on the mount SHOULD be blocked. >> What am I missing? > > The problem is that the fanotify_mark() system call is hanging and as a > side effect blocks everything. > > The side effect is probably completely understandable, but > fanotify_mark() should never hang, should it? > > I see. I guess it shouldn't block. Also with this understanding, I am not sure Jan's work is relevant to your issue. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html