libc: increase FS_BLOCK_SIZE to 4KiB

Fixes #2752.
This commit is contained in:
Josef Söntgen 2018-03-29 14:38:44 +02:00 committed by Christian Helmuth
parent 970f8cf3ed
commit 77a2e02a0d
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,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 = 1024 };
enum { FS_BLOCK_SIZE = 4096 };
Genode::memset(dst, 0, sizeof(*dst));

View File

@ -232,7 +232,7 @@ static bool noux_syscall(Noux::Session::Syscall opcode)
}
enum { FS_BLOCK_SIZE = 1024 };
enum { FS_BLOCK_SIZE = 4096 };
/***********************************************