linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC -next 0/2] fuse: Parallel DIO writes with O_DIRECT
@ 2023-08-21 17:47 Bernd Schubert
  2023-08-21 17:47 ` [PATCH 1/2] [RFC for fuse-next ] fuse: DIO writes always use the same code path Bernd Schubert
  2023-08-21 17:47 ` [PATCH 2/2] libfs: Remove export of direct_write_fallback Bernd Schubert
  0 siblings, 2 replies; 9+ messages in thread
From: Bernd Schubert @ 2023-08-21 17:47 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: bernd.schubert, fuse-devel, Bernd Schubert, Hao Xu,
	Christoph Hellwig, Miklos Szeredi, Dharmendra Singh

In commit 153524053bbb fuse gained the possibility to do parallel
DIO writes, when FOPEN_DIRECT_IO and FOPEN_PARALLEL_DIRECT_WRITES
are set. If server side only sets FOPEN_PARALLEL_DIRECT_WRITES,
but does not set FOPEN_DIRECT_IO, O_DIRECT from the application
is still serialized.
fuse-next has changes in commits b5a2a3a0b776/80e4f25262f9, which
allow to take the optimized (in respect to parallel DIO) code path,
dirty page flush and page invalidation have to be done unconditionally,
though.

v2:
Rebase to 6.5/6.6-fuse-next

Bernd Schubert (2):
  [RFC for fuse-next ] fuse: DIO writes always use the same code path
  libfs: Remove export of direct_write_fallback

 fs/fuse/file.c | 27 +++++++++------------------
 fs/libfs.c     |  1 -
 2 files changed, 9 insertions(+), 19 deletions(-)

Cc: Hao Xu <howeyxu@tencent.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Dharmendra Singh <dsingh@ddn.com>
Cc: linux-fsdevel@vger.kernel.org

-- 
2.39.2


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

end of thread, other threads:[~2023-08-24  9:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 17:47 [PATCH RFC -next 0/2] fuse: Parallel DIO writes with O_DIRECT Bernd Schubert
2023-08-21 17:47 ` [PATCH 1/2] [RFC for fuse-next ] fuse: DIO writes always use the same code path Bernd Schubert
2023-08-22  9:53   ` Miklos Szeredi
2023-08-22 18:46     ` Bernd Schubert
2023-08-23  6:10       ` Miklos Szeredi
2023-08-24  4:32     ` [fuse-devel] " Hao Xu
2023-08-24  9:43       ` Bernd Schubert
2023-08-24  9:51         ` Bernd Schubert
2023-08-21 17:47 ` [PATCH 2/2] libfs: Remove export of direct_write_fallback Bernd Schubert

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