Skip to content

fsnotify: Improve ENOMEM handling

Jan Kara linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fanotify: Avoid lost events due to ENOMEM for unlimited queuesfs/notify/fanotify/fanotify.c fs/notify/fanotify/fanotify.h fs/notify/fanotify/fanotify_user.c+17 -75 replies
2/2fsnotify: Let userspace know about lost events due to ENOMEMfs/notify/fanotify/fanotify.c fs/notify/inotify/inotify_fsnotify.c fs/notify/notification.c +1 more+23 -31 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAmir Goldstein
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fsnotify: Improve ENOMEM handling

Hello,

these two patches improve ENOMEM handling in fsnotify framework. In particular we queue overflow event if we cannot report some event due to ENOMEM (currently we just silently lose the event). We also make sure fanotify unlimited queues cannot lose events due to ENOMEM. This series is prerequisite for memcg charging of fsnotify events. Comments are welcome!

Honza