All of lore.kernel.org
 help / color / mirror / Atom feed
* potential race in FUSE's readdir() + releasedir()?
@ 2022-07-03 14:36 Nikolaus Rath
  2022-07-06  8:35 ` Miklos Szeredi
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolaus Rath @ 2022-07-03 14:36 UTC (permalink / raw)
  To: Linux FS Devel, fuse-devel, miklos

Hello,

I am seeing something that to me looks like a race between FUSE's
readdir() and releasedir() handlers. On kernel 5.18, the FUSE daemon
seems to (ocasionally) receive a releasedir() request while a readdir()
request with the same `struct fuse_file_info *fi->fh` is still active
(i.e., the FUSE daemon hasn't sent a reply to the kernel for this yet).

Could this be a bug in the kernel? Or is there something else that could
explain this?

Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

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

end of thread, other threads:[~2022-07-11  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-03 14:36 potential race in FUSE's readdir() + releasedir()? Nikolaus Rath
2022-07-06  8:35 ` Miklos Szeredi
2022-07-11  8:33   ` [fuse-devel] " Nikolaus Rath

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.