Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
3bcf5ee
fuse: rename to fuse_dev_end_requests and make non-static
bsbernd Jan 20, 2025
1666101
fuse: Move fuse_get_dev to header file
bsbernd Jan 20, 2025
6b6c217
fuse: Move request bits
bsbernd Jan 20, 2025
d31f04e
fuse: make args->in_args[0] to be always the header
bsbernd Jan 20, 2025
35bc672
fuse: {io-uring} Handle SQEs - register commands
bsbernd Jan 20, 2025
c6641bd
fuse: Make fuse_copy non static
bsbernd Jan 20, 2025
27743ea
fuse: Add fuse-io-uring handling into fuse_copy
bsbernd Jan 20, 2025
efcaee3
fuse: {io-uring} Make hash-list req unique finding functions non-static
bsbernd Jan 20, 2025
6d7c5e7
fuse: Add io-uring sqe commit and fetch support
bsbernd Jan 20, 2025
f8f69d2
fuse: {io-uring} Handle teardown of ring entries
bsbernd Jan 20, 2025
aaf0f3b
fuse: cleanup request queuing towards virtiofs
May 29, 2024
fa04c7d
fuse: {io-uring} Make fuse_dev_queue_{interrupt,forget} non-static
bsbernd Jan 20, 2025
d9c10de
fuse: Allow to queue fg requests through io-uring
bsbernd Jan 20, 2025
018641a
RED-ONLY: fuse: {io-uring red} define IO_URING_F_TASK_DEAD
bsbernd Apr 17, 2025
6da52b7
fuse: Allow to queue bg requests through io-uring
bsbernd Jan 20, 2025
144266f
fuse: {io-uring} Prevent mount point hang on fuse-server termination
bsbernd Jan 20, 2025
dc40b25
fuse: block request allocation until io-uring init is complete
bsbernd Jan 20, 2025
5174768
fuse: enable fuse-over-io-uring
bsbernd Jan 20, 2025
ac738c1
fuse: prevent disabling io-uring on active connections
bsbernd Jan 23, 2025
7cf1540
fuse: fix uring race condition for null dereference of fc
joannekoong Mar 18, 2025
3a7a4e7
fuse: fix possible deadlock if rings are never initialized
luis-henrix Mar 6, 2025
bbe1041
fuse: {io-uring} Fix a possible req cancellation race
bsbernd Mar 25, 2025
54d9a86
fuse: removed unused function fuse_uring_create() from header
luis-henrix Feb 7, 2025
65e7afa
fuse: Allocate only namelen buf memory in fuse_notify_
bsbernd Dec 16, 2024
4f1ba11
fuse: use FUSE_ROOT_ID in fuse_get_root_inode()
Feb 28, 2024
fabde09
fuse: check attributes staleness on fuse_iget()
cntianci Nov 18, 2024
d77db6e
fuse: fuse: Use readdir buffer of max_pages size
szmi Apr 8, 2025
1b4cae7
Revert "virtiofs: use pages instead of pointer for kernel direct IO"
bsbernd Apr 17, 2025
95a52d5
fuse: Fix missing FOLL_PIN for direct-io
Aug 29, 2023
b023958
fuse: enable dynamic configuration of fuse max pages limit (FUSE_MAX_…
joannekoong Sep 23, 2024
47b2694
fuse: Make the fuse_send_one request counter atomic
bsbernd Apr 2, 2025
4415892
[RFC] fuse: Set request unique on allocation
bsbernd Apr 2, 2025
6e77e0e
fuse: add simple request tracepoints
josefbacik Jul 3, 2024
9efaa8d
fuse: {io-uring} Avoid _send code dup
bsbernd Apr 2, 2025
4a7f142
fuse: fine-grained request ftraces
bsbernd Apr 2, 2025
573e7ab
fuse: Increase FUSE_NAME_MAX to PATH_MAX
bsbernd Dec 16, 2024
52da885
fuse: add support for explicit export disabling
lostjeffle Feb 26, 2024
f400249
fuse: create helper function if DIO write needs exclusive lock
bsbernd Aug 22, 2023
110fb13
fuse: factor out helper fuse_truncate_update_attr()
amir73il Feb 1, 2024
cbabbdd
fuse: allocate ff->release_args only if release is needed
amir73il Feb 1, 2024
8dcafbe
fuse: break up fuse_open_common()
amir73il Feb 2, 2024
c1531c7
fuse: prepare for failing open response
amir73il Feb 1, 2024
0a64c3c
fuse: introduce inode io modes
amir73il Feb 1, 2024
a709f7b
fuse: add fuse_dio_lock/unlock helper functions
bsbernd Dec 23, 2023
afe3358
fuse: allow parallel dio writes with FUSE_DIRECT_IO_ALLOW_MMAP
amir73il Feb 9, 2024
ba1236c
fuse: add fast path for fuse_range_is_writeback
yangyun50 Aug 14, 2024
bbddfd7
fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set
yangyun50 Sep 14, 2024
3f71501
fuse: Increase the default max pages limit to 8182
bsbernd Apr 8, 2025
ea01f94
fuse: {uring} Pin the user buffer
bsbernd Jan 8, 2025
5f0264c
fuse: {io-uring] Avoid complete-in-task if pinned pages are used
bsbernd Jan 17, 2025
2a889c7
fuse: Add memory barrier in fuse_uring_destruct
bsbernd Apr 22, 2025
763c96d
fuse: Use fuser-server provided read-ahead for CAP_SYS_ADMIN
bsbernd May 7, 2025
78dec11
fuse: fix race between concurrent setattrs from multiple nodes
gwu-ddn May 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set
This may be a typo. The comment has said shared locks are
not allowed when this bit is set. If using shared lock, the
wait in `fuse_file_cached_io_open` may be forever.

Fixes: 205c1d8 ("fuse: allow parallel dio writes with FUSE_DIRECT_IO_ALLOW_MMAP")
CC: [email protected] # v6.9
Signed-off-by: yangyun <[email protected]>
Reviewed-by: Bernd Schubert <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
(cherry picked from commit 2f3d8ff)
  • Loading branch information
yangyun50 authored and bsbernd committed Apr 17, 2025
commit bbddfd7faae92f6a98068175dc3a9becf416f070
2 changes: 1 addition & 1 deletion fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ static bool fuse_dio_wr_exclusive_lock(struct kiocb *iocb, struct iov_iter *from

/* shared locks are not allowed with parallel page cache IO */
if (test_bit(FUSE_I_CACHE_IO_MODE, &fi->state))
return false;
return true;

/* Parallel dio beyond EOF is not supported, at least for now. */
if (fuse_io_past_eof(iocb, from))
Expand Down