]> Git Repo - linux.git/commit
fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set
authoryangyun <[email protected]>
Sat, 14 Sep 2024 08:51:31 +0000 (16:51 +0800)
committerMiklos Szeredi <[email protected]>
Tue, 24 Sep 2024 11:21:33 +0000 (13:21 +0200)
commit2f3d8ff457982f4055fe8f7bf19d3821ba22c376
tree3b224336b3c4909ee40d0cdfec9d395ab8d36d37
parentfcd2d9e1fdcd7cada612f2e8737fb13a2bce7d0e
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: 205c1d802683 ("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]>
fs/fuse/file.c
This page took 0.050479 seconds and 4 git commands to generate.