linux-stable/fs/9p
Eric Van Hensbergen d9bc0d11e3
fs/9p: Consolidate file operations and add readahead and writeback
We had 3 different sets of file operations across 2 different protocol
variants differentiated by cache which really only changed 3
functions.  But the real problem is that certain file modes, mount
options, and other factors weren't being considered when we
decided whether or not to use caches.

This consolidates all the operations and switches
to conditionals within a common set to decide whether or not
to do different aspects of caching.

Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
2023-03-27 02:33:39 +00:00
..
acl.c fs: port inode_owner_or_capable() to mnt_idmap 2023-01-19 09:24:29 +01:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
cache.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
cache.h 9p: Use fscache indexing rewrite and reenable caching 2022-01-10 11:53:06 +00:00
fid.c 9p/fs: Remove unneeded idr.h #include 2022-12-02 23:59:15 +09:00
fid.h 9p fid refcount: cleanup p9_fid_put calls 2022-07-02 18:52:21 +09:00
Kconfig 9p: Use fscache indexing rewrite and reenable caching 2022-01-10 11:53:06 +00:00
Makefile
v9fs.c fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
v9fs.h fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
v9fs_vfs.h fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_addr.c fs/9p: Expand setup of writeback cache to all levels 2023-02-23 22:39:36 +00:00
vfs_dentry.c 9p/fs: Remove unneeded idr.h #include 2022-12-02 23:59:15 +09:00
vfs_dir.c fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_file.c fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_inode.c fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_inode_dotl.c fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_super.c 9p/fs: Remove unneeded idr.h #include 2022-12-02 23:59:15 +09:00
xattr.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr.h 9p: use stub posix acl handlers 2022-10-20 10:13:32 +02:00