From 6dd7cbb1bdd0cad6f9774e1572cee63c1d90db87 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 13 Aug 2023 17:15:47 -0400 Subject: bcachefs: Disable splice_(read|write) DEBUG 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 --- fs/bcachefs/fs.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3