Skip to content

fuse: fix readahead reclaim deadlock

Joanne Koong linux-fsdevel stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 3 repliesIn review
  2. v11 patch 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1fuse: fix readahead reclaim deadlockfs/fuse/file.c+26 -143 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] fuse: fix readahead reclaim deadlock

This is v2 for fixing the readahead reclaim deadlock we ran into at Meta on fuse servers that don't implement open (fc->no_open == 1). v1 is here:
https://lore.kernel.org/linux-fsdevel/[email protected]/

This approach in v2 fixes the deadlock by allocating ff->release_args and grabbing the reference on the inode in fuse_prepare_release() even if the server doesn't implement open. This is an alternative approach to v1, which explicitly grabbed the inode reference before sending readahead requests and dropped the reference after the requests completed.

Thanks,
Joanne

Joanne Koong (1):
fuse: fix readahead reclaim deadlock

 fs/fuse/file.c | 40 ++++++++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 14 deletions(-)
Signature · 1 line
2.47.3