diff options
author | Eric Van Hensbergen <ericvh@kernel.org> | 2022-12-08 05:40:37 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@kernel.org> | 2023-03-27 05:33:39 +0300 |
commit | d9bc0d11e33bd7b6bfeedc570cd5738e5b4c7ca8 (patch) | |
tree | b37a1976408102f8bf285272558f9e83d69955d6 /init | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | linux-d9bc0d11e33bd7b6bfeedc570cd5738e5b4c7ca8.tar.xz |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions