diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-13 17:15:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-13 17:15:47 -0400 |
commit | 6dd7cbb1bdd0cad6f9774e1572cee63c1d90db87 (patch) | |
tree | e021e96d2c1ec44296b056382c371b3613e18ba0 /fs/bcachefs/fs.c | |
parent | 9c9a9913f0cd6e6afb8a2e07e0fddd6a8d766685 (diff) |
bcachefs: Disable splice_(read|write) DEBUGbcachefs-splice-disable
From the bug
https://github.com/koverstreet/bcachefs/issues/581
it appears there is an IO path bug that manifests with samba, but not
nfs.
That implicates a more specialized IO path; let's test without splice.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.c')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index d287db908e62..aaa8f91ea8e7 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1022,8 +1022,10 @@ static const struct file_operations bch_file_operations = { .mmap = bch2_mmap, .open = generic_file_open, .fsync = bch2_fsync, +#if 0 .splice_read = filemap_splice_read, .splice_write = iter_file_splice_write, +#endif .fallocate = bch2_fallocate_dispatch, .unlocked_ioctl = bch2_fs_file_ioctl, #ifdef CONFIG_COMPAT |