linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should FUSE set IO_FLUSHER for the userspace process?
@ 2022-09-18 11:03 Nikolaus Rath
  2022-09-18 12:52 ` Amir Goldstein
  2022-09-19  9:20 ` Miklos Szeredi
  0 siblings, 2 replies; 6+ messages in thread
From: Nikolaus Rath @ 2022-09-18 11:03 UTC (permalink / raw)
  To: Linux FS Devel, miklos

Hi,

Should the FUSE kernel driver perhaps set PR_SET_IO_FLUSHER for the FUSE
userspace process daemon when a connection is opened?

If I understand correctly, this is necessary to avoid a deadlocks if the
kernel needs to reclaim memory that has to be written back through FUSE.

I don't think it's possible to do this in userspace, since the process
may lack the necessary capabilities.

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] 6+ messages in thread

end of thread, other threads:[~2022-10-26 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-18 11:03 Should FUSE set IO_FLUSHER for the userspace process? Nikolaus Rath
2022-09-18 12:52 ` Amir Goldstein
2022-09-19  9:20 ` Miklos Szeredi
2022-10-25 15:38   ` Antonio SJ Musumeci
2022-10-26 11:58     ` Miklos Szeredi
2022-10-26 12:17       ` Miklos Szeredi

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