linux/fs/9p
Eric Van Hensbergen 1543b4c507
fs/9p: remove writeback fid and fix per-file modes
This patch removes the creating of an additional writeback_fid
for opened files.  The patch addresses problems when files
were opened write-only or getattr on files with dirty caches.

This patch also incorporates information about cache behavior
in the fid for every file.  This allows us to reflect cache
behavior from mount flags, open mode, and information from
the server to inform readahead and writeback behavior.

This includes adding support for a 9p semantic that qid.version==0
is used to mark a file as non-cachable which is important for
synthetic files.  This may have a side-effect of not supporting
caching on certain legacy file servers that do not properly set
qid.version.  There is also now a mount flag which can disable
the qid.version behavior.

Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
2023-03-27 02:33:48 +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 fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
fid.h fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
Kconfig 9p: Use fscache indexing rewrite and reenable caching 2022-01-10 11:53:06 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
v9fs_vfs.h fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
v9fs.c fs/9p: Add new mount modes 2023-03-27 02:33:48 +00:00
v9fs.h fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
vfs_addr.c fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +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: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
vfs_inode_dotl.c fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
vfs_inode.c fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
vfs_super.c fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00: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