linux/fs/fuse
Kemeng Shi efc4105a4c fuse: remove unneeded lock which protecting update of congestion_threshold
Commit 670d21c6e1 ("fuse: remove reliance on bdi congestion") change how
congestion_threshold is used and lock in
fuse_conn_congestion_threshold_write is not needed anymore.
1. Access to supe_block is removed along with removing of bdi congestion.
Then down_read(&fc->killsb) which protecting access to super_block is no
needed.
2. Compare num_background and congestion_threshold without holding
bg_lock. Then there is no need to hold bg_lock to update
congestion_threshold.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2024-03-06 11:07:51 +01:00
..
acl.c fs.idmapped.v6.3 2023-02-20 11:53:11 -08:00
control.c fuse: remove unneeded lock which protecting update of congestion_threshold 2024-03-06 11:07:51 +01:00
cuse.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
dax.c fuse: dax: set fc->dax to NULL in fuse_dax_conn_free() 2023-12-04 10:16:53 +01:00
dev.c fuse: Use the high bit of request ID for indicating resend requests 2024-03-06 09:56:35 +01:00
dir.c fuse: fix typo for fuse_permission comment 2024-03-06 09:56:11 +01:00
file.c fuse: Fix missing FOLL_PIN for direct-io 2024-03-06 11:07:35 +01:00
fuse_i.h fuse: Fix missing FOLL_PIN for direct-io 2024-03-06 11:07:35 +01:00
inode.c fuse: Use the high bit of request ID for indicating resend requests 2024-03-06 09:56:35 +01:00
ioctl.c fuse: ioctl: translate ENOSYS in outarg 2023-06-21 11:17:36 +02:00
iomode.c fuse: implement open in passthrough mode 2024-03-05 13:40:42 +01:00
Kconfig fuse: introduce FUSE_PASSTHROUGH capability 2024-02-23 17:36:32 +01:00
Makefile fuse: introduce FUSE_PASSTHROUGH capability 2024-02-23 17:36:32 +01:00
passthrough.c fuse: implement passthrough for mmap 2024-03-05 13:40:42 +01:00
readdir.c fuse: convert to new timestamp accessors 2023-10-18 14:08:21 +02:00
virtio_fs.c virtio_fs: remove duplicate check if queue is broken 2024-03-05 13:40:43 +01:00
xattr.c fuse: move fuse_xattr_handlers to .rodata 2023-10-09 16:24:18 +02:00