HomeFreeBSD

Switch KM_SLEEP to KM_PUSHPAGE

Description

Switch KM_SLEEP to KM_PUSHPAGE

When writes to zvols invoke ZIL, zfs_range_new_proxy() is called,
which allocates memory using KM_SLEEP, triggering a warning.
Switch to KM_PUSHPAGE to silence that warning. See commit
b8d06fca089fae4680c3a552fc55c512bfb02202 for additional details.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1138

Details

Provenance
Richard Yao <ryao@cs.stonybrook.edu>Authored on Dec 8 2012, 1:38 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 10 2012, 5:44 PM
Parents
rG53c7411919a6: Revert "Fix unlink/xattr deadlock"
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe4d89e9cfc60: Switch KM_SLEEP to KM_PUSHPAGE (authored by Richard Yao <ryao@cs.stonybrook.edu>).Dec 10 2012, 5:44 PM