diff options
| author | Christian Brauner <brauner@kernel.org> | 2024-01-11 12:22:33 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2024-01-11 12:22:33 +0100 |
| commit | 1d5911d43cab5fb99229b02bce173b0c6d9da7d2 (patch) | |
| tree | a123abfdbd076fefaccb3562becd890e075767db /include/linux/netfs.h | |
| parent | d271c4b406f75e27efd79fe132981e475db1dd7e (diff) | |
| parent | e2bdb5272f4314256f51d91eee7babcae58b194b (diff) | |
| download | linux-1d5911d43cab5fb99229b02bce173b0c6d9da7d2.tar.gz linux-1d5911d43cab5fb99229b02bce173b0c6d9da7d2.tar.bz2 linux-1d5911d43cab5fb99229b02bce173b0c6d9da7d2.zip | |
Merge tag 'netfs-lib-20240109' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into vfs.netfs
Pull netfs updates from David Howells:
A few follow-up fixes for the netfs work for this cycle.
* tag 'netfs-lib-20240109' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
netfs: Fix wrong #ifdef hiding wait
cachefiles: Fix signed/unsigned mixup
netfs: Fix the loop that unmarks folios after writing to the cache
netfs: Fix interaction between write-streaming and cachefiles culling
netfs: Count DIO writes
netfs: Mark netfs_unbuffered_write_iter_locked() static
Tested-by: Marc Dionne <marc.dionne@auristor.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/netfs.h')
| -rw-r--r-- | include/linux/netfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfs.h b/include/linux/netfs.h index d3bac60fcd6f..100cbb261269 100644 --- a/include/linux/netfs.h +++ b/include/linux/netfs.h @@ -142,6 +142,7 @@ struct netfs_inode { #define NETFS_ICTX_ODIRECT 0 /* The file has DIO in progress */ #define NETFS_ICTX_UNBUFFERED 1 /* I/O should not use the pagecache */ #define NETFS_ICTX_WRITETHROUGH 2 /* Write-through caching */ +#define NETFS_ICTX_NO_WRITE_STREAMING 3 /* Don't engage in write-streaming */ }; /* |
