diff options
author | 2024-11-15 10:30:29 -0500 | |
---|---|---|
committer | 2024-12-11 17:28:41 +0100 | |
commit | 8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6 (patch) | |
tree | 4d0ad92f307895589ef8e428dc0c4f9a587679d3 /scripts/generate_rust_analyzer.py | |
parent | mm: don't allow huge faults for files with pre content watches (diff) | |
download | wireguard-linux-8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6.tar.xz wireguard-linux-8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6.zip |
fsnotify: generate pre-content permission event on page fault
FS_PRE_ACCESS will be generated on page fault depending on the faulting
method. This pre-content event is meant to be used by hierarchical storage
managers that want to fill in the file content on first read access.
Export a simple helper that file systems that have their own ->fault()
will use, and have a more complicated helper to be do fancy things in
filemap_fault.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/aa56c50ce81b1fd18d7f5d71dd2dfced5eba9687.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions