lkml.org 
[lkml]   [2023]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] fuse: enable larger read buffers for readdir.
On Wed, 26 Jul 2023 at 20:40, Jaco Kroon <jaco@uls.co.za> wrote:

> Will look into FUSE_INIT. The FUSE_INIT as I understand from what I've
> read has some expansion constraints or the structure is somehow
> negotiated. Older clients in other words that's not aware of the option
> will follow some default. For backwards compatibility that default
> should probably be 1 page. For performance reasons it makes sense that
> this limit be larger.

Yes, might need this for backward compatibility. But perhaps a
feature flag is enough and the readdir buf can be limited to
fc->max_read.

Thanks,
Miklos

\
 
 \ /
  Last update: 2023-07-27 21:22    [W:0.044 / U:2.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site