diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-09-15 17:26:09 -0700 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-09-23 12:45:25 +0200 |
| commit | d3906d8f3cee0279d459dc88b5a871fcdcd4b236 (patch) | |
| tree | a6316a42d04dbad8d27696d911a3a8bf1b1fa291 | |
| parent | 0d375a1385ed80d8c84433fb54062a9253ccf7e5 (diff) | |
fuse: enable FUSE_SYNCFS for all fuseblk servers
Turn on syncfs for all fuseblk servers so that the ones in the know can
flush cached intermediate data and logs to disk.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
| -rw-r--r-- | fs/fuse/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index a4d361b34d06..6fcfa15da868 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -1849,6 +1849,7 @@ int fuse_fill_super_common(struct super_block *sb, struct fuse_fs_context *ctx) !sb_set_blocksize(sb, PAGE_SIZE)) goto err; #endif + fc->sync_fs = 1; } else { sb->s_blocksize = PAGE_SIZE; sb->s_blocksize_bits = PAGE_SHIFT; |
