linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why doesn't FUSE use stable writes?
@ 2023-12-16  1:05 Matthew Wilcox
  2023-12-16  9:33 ` Miklos Szeredi
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2023-12-16  1:05 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-fsdevel


I'm looking at fuse_writepage_locked() and it allocates a new page, then
copies from the page cache into that page before sending that page to
userspace.  I imagine you want to prevent torn writes, so why not set
SB_I_STABLE_WRITES instead of having this memcpy?

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

end of thread, other threads:[~2023-12-16  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-16  1:05 Why doesn't FUSE use stable writes? Matthew Wilcox
2023-12-16  9:33 ` 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).