linux/fs/fuse
Joanne Koong 542ede096e
fuse: keep inode->i_blkbits constant
With fuse now using iomap for writeback handling, inode blkbits changes
are problematic because iomap relies on inode->i_blkbits for its
internal bitmap logic. Currently we change inode->i_blkbits in fuse to
match the attr->blksize value passed in by the server.

This commit keeps inode->i_blkbits constant in fuse. Any attr->blksize
values passed in by the server will not update inode->i_blkbits. The
client-side behavior for stat is unaffected, stat will still reflect the
blocksize passed in by the server.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://lore.kernel.org/20250807175015.515192-1-joannelkoong@gmail.com
Fixes: ef7e7cbb32 ("fuse: use iomap for writeback")
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-08-11 14:51:50 +02:00
..
Kconfig fuse: use iomap for buffered writes 2025-07-17 09:55:15 +02:00
Makefile fuse: {io-uring} Handle SQEs - register commands 2025-01-24 11:54:08 +01:00
acl.c fuse: support idmapped ->set_acl 2024-09-04 16:51:11 +02:00
control.c fuse_ctl: use simple_recursive_removal() 2025-07-02 22:36:52 -04:00
cuse.c fuse: remove pages for requests and exclusively use folios 2024-11-05 14:08:35 +01:00
dax.c mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
dev.c fuse: support large folios for stores 2025-05-29 12:31:23 +02:00
dev_uring.c fuse: optimize over-io-uring request expiration check 2025-04-15 13:43:38 +02:00
dev_uring_i.h fuse: add kernel-enforced timeout option for requests 2025-03-31 14:59:25 +02:00
dir.c fuse: no need for special dentry_operations for root dentry 2025-06-10 22:15:18 -04:00
file.c Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
fuse_dev_i.h fuse: support copying large folios 2025-05-29 12:30:30 +02:00
fuse_i.h vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
fuse_trace.h fuse: add simple request tracepoints 2024-08-29 11:43:13 +02:00
inode.c fuse: keep inode->i_blkbits constant 2025-08-11 14:51:50 +02:00
ioctl.c tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
iomode.c fuse: fix parallel dio write on file open in passthrough mode 2024-04-15 10:12:44 +02:00
passthrough.c backing-file: clean up the API 2024-11-11 10:45:03 +01:00
readdir.c fuse: increase readdir buffer size 2025-05-29 12:31:24 +02:00
sysctl.c fuse: add default_request_timeout and max_request_timeout sysctls 2025-03-31 14:59:27 +02:00
virtio_fs.c Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
xattr.c fuse: make args->in_args[0] to be always the header 2025-01-24 11:54:02 +01:00