]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Disable page allocation warnings for ARC buffers
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Sep 2012 02:00:59 +0000 (19:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 6 Sep 2012 18:53:08 +0000 (11:53 -0700)
commitebcfc8a53450fd71443668191507770e17c409bd
tree2692813b83b3ae346cd3203cc16cbdae0ffe1b3b
parentfc24f7c887a040b6dc9f2a3dd3d5ae0c03a5d639
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
module/zfs/zio.c