Skip to content

Use new fanotify Linux API in FileSystemWatcher #30495

@MarcusWichelmann

Description

@MarcusWichelmann

Currently the FileSystemWatcher implementation for Linux is based on the inotify kernel API which is very inefficient and has some strong limitations.
But there is this new kernel API called fanotify with some advantages like being able to watch large directory trees recursively.

Do you have any plans using this API in the FileSystemWatcher when it's available? For older kernels, a fallback to inotify would probably still be necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IOenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions