dde_rump: increase max I/O request size to 1 MiB

With the increase of MAXPHYS, the rump kernel requests a contiguous
allocation of 2101248 bytes, which exceeds the allocator's block size of
2 MiB.

  Error: backend allocator: Unable to allocate memory (size: 2101248 align: 12)

The patch avoids this corner case by increasing the allocator's block
size to 4 MiB.

Fixes #4613
This commit is contained in:
Norman Feske
2022-09-15 14:05:06 +02:00
committed by Christian Helmuth
parent 99254b4d52
commit 20df224b19
8 changed files with 19 additions and 11 deletions

View File

@@ -152,11 +152,11 @@ append_if [have_spec nova] config {
append_if [expr $use_rumpfs] config {
<start name="rump_fs" priority="-1" caps="200">
<binary name="vfs"/>
<resource name="RAM" quantum="32M"/>
<resource name="RAM" quantum="64M"/>
<provides><service name="File_system"/></provides>
<config ld_verbose="yes">
<vfs>
<rump fs="ext2fs" ram="28M"/>
<rump fs="ext2fs" ram="48M"/>
</vfs>}
append_if [expr $use_rumpfs && $use_ram_fs && $use_overlay_from_disk] config {