HomeFreeBSD

Disable page allocation warnings for ARC buffers

Description

Disable page allocation warnings for ARC buffers

Buffers for the ARC are normally backed by the SPL virtual slab.
However, if memory is low, AND no slab objects are available,
AND a new slab cannot be quickly constructed a new emergency
object will be directly allocated.

These objects can be as large as order 5 on a system with 4k
pages. And because they are allocated with KM_PUSHPAGE, to
avoid a potential deadlock, they are not allowed to initiate I/O
to satisfy the allocation. This can result in the occasional
allocation failure.

However, since these allocations are allowed to block and
perform operations such as memory compaction they will eventually
succeed. Since this is not unexpected (just unlikely) behavior
this patch disables the warning for the allocation failure.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #465

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 5 2012, 2:00 AM
Parents
rGfc24f7c887a0: Fix missing vdev names in zpool status output
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGebcfc8a53450: Disable page allocation warnings for ARC buffers (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 6 2012, 6:53 PM