mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
libc: increase stat I/O blksize hint to 64 KiB
The configured 'st_blksize' influences the sizing of the FILE buffer, see '__swhatbuf()'. Increasing the blksize hint can lead to larger 'fread()' requests and in return to fewer roundtrips.
This commit is contained in:
parent
75f7fd546c
commit
9c3867e173
@ -101,7 +101,7 @@ static Libc::Plugin_context *vfs_context(Vfs::Vfs_handle *vfs_handle)
|
||||
static void vfs_stat_to_libc_stat_struct(Vfs::Directory_service::Stat const &src,
|
||||
struct stat *dst)
|
||||
{
|
||||
enum { FS_BLOCK_SIZE = 4096 };
|
||||
enum { FS_BLOCK_SIZE = 4096 * 16 };
|
||||
|
||||
unsigned const readable_bits = S_IRUSR,
|
||||
writeable_bits = S_IWUSR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user