On Fri, Jan 24, 2025, 23:25 Miroslav Cimerman <[email protected]> wrote: > Hello, > > I would be grateful for anyone who has an insight > into the ext4 filesystem and/or VFS. > > It would be great to use the maximum IPC data transfer > size (64K). The maximum size ext4 currently allows > through is 4K. Would it be ok to just bump the parameters > to 64K? >
I'm no expert at ext4, but it seems to me that you are increasing a parameter of the file system on-disk representation? Does such a file system work with other operating systems? And the change won't affect file system created by Linux tools, would it? Anyway, the reason the IPC transfer is limited in such a way is probably because the file system implementation read/writes only a single block at a time. The "proper" solution to this would be to check how much of the transfer is to a single contiguous region and forward that. This is not just an ext4 issue by the way. I think FAT still does transfers in 512 B blocks. Utterly ridiculous in a system where every call has the latency of a retired professor responding to e-mails, but nobody has had the time or interest to fix it yet. -- jzr
_______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
