linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] fuse: fix readahead reclaim deadlock
@ 2025-10-10 22:07 Joanne Koong
  2025-10-10 22:07 ` [PATCH v2 1/1] " Joanne Koong
  0 siblings, 1 reply; 2+ messages in thread
From: Joanne Koong @ 2025-10-10 22:07 UTC (permalink / raw)
  To: miklos; +Cc: linux-fsdevel, amir73il, osandov, hsiangkao, kernel-team

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/20250925224404.2058035-1-joannelkoong@gmail.com/

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(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-10 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-10 22:07 [PATCH v2 0/1] fuse: fix readahead reclaim deadlock Joanne Koong
2025-10-10 22:07 ` [PATCH v2 1/1] " Joanne Koong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).