mirror of https://github.com/torvalds/linux.git
Above the while() loop in wait_sb_inodes(), we document that we must wait
for all pages under writeback for data integrity. Consequently, if a
mapping, like fuse, traditionally does not have data integrity semantics,
there is no need to wait at all; we can simply skip these inodes.
This restores fuse back to prior behavior where syncs are no-ops. This
fixes a user regression where if a system is running a faulty fuse server
that does not reply to issued write requests, this causes wait_sb_inodes()
to wait forever.
Link: https://lkml.kernel.org/r/20260105211737.4105620-2-joannelkoong@gmail.com
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| acl.c | ||
| backing.c | ||
| control.c | ||
| cuse.c | ||
| dax.c | ||
| dev.c | ||
| dev_uring.c | ||
| dev_uring_i.h | ||
| dir.c | ||
| file.c | ||
| fuse_dev_i.h | ||
| fuse_i.h | ||
| fuse_trace.h | ||
| inode.c | ||
| ioctl.c | ||
| iomode.c | ||
| passthrough.c | ||
| readdir.c | ||
| sysctl.c | ||
| trace.c | ||
| virtio_fs.c | ||
| xattr.c | ||