Lines Matching +full:write +full:- +full:to +full:- +full:read
1 .. SPDX-License-Identifier: GPL-2.0
9 - direct-io
10 - cached
11 + write-through
12 + writeback-cache
14 The direct-io mode can be selected with the FOPEN_DIRECT_IO flag in the
17 In direct-io mode the page cache is completely bypassed for reads and writes.
18 No read-ahead takes place. Shared mmap is disabled by default. To allow shared
22 read-ahead by the kernel to fill the cache. The cache is always kept consistent
23 after any writes to the file. All mmap modes are supported.
26 write-through mode is the default and is supported on all kernels. The
27 writeback-cache mode may be selected by the FUSE_WRITEBACK_CACHE flag in the
30 In write-through mode each write is immediately sent to userspace as one or more
31 WRITE requests, as well as updating any cached pages (and caching previously
32 uncached, but fully written pages). No READ requests are ever sent for writes,
35 In writeback-cache mode (enabled by the FUSE_WRITEBACK_CACHE flag) writes go to
36 the cache only, which means that the write(2) syscall can often complete very
39 when the last ref to the file is being released on munmap(2)). This mode
40 assumes that all changes to the filesystem go through the FUSE kernel module
41 (size and atime/ctime/mtime attributes are kept up-to-date by the kernel), so
43 written, then the page needs to be first read from userspace. This means, that
44 even for files opened for O_WRONLY it is possible that READ requests will be