Skip to content

shmem: Notify user space when file system is full

Gabriel Krisman Bertazi linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2shmem: Differentiate cause of blk account error due to lack of spacemm/shmem.c+11 -80 replies
2/2shmem: Trigger FS_ERROR notification when file system is fullmm/shmem.c+17 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] shmem: Notify user space when file system is full

FS_ERROR is a fsnotify event type used by monitoring tools to detect conditions that might require intervention from a recovery tool or from sysadmins. This patch series enables tmpfs to report an event when an operation fails because the file system is full.

It attempts to only report events when the filesystem is really full, instead of errors caused by memory pressure. The first patch prepares the terrain by detecting these two different conditions, and the second patch actually adds the event triggers.

Gabriel Krisman Bertazi (2):
shmem: Differentiate cause of blk account error due to lack of space
shmem: Trigger FS_ERROR notification when file system is full

 mm/shmem.c | 39 ++++++++++++++++++++++++++-------------
 1 file changed, 26 insertions(+), 13 deletions(-)
Signature · 1 line
2.33.0