HomeFreeBSD

Use KM_PUSHPAGE in dsl_dataset_rollback_check()

Description

Use KM_PUSHPAGE in dsl_dataset_rollback_check()

The dsl_dataset_rollback_check() function is executed in the
txg_sync context. To prevent a potential deadlock due to direct
memory reclaim it must use KM_PUSHPAGE. This was introduced by
the recent 'zfs bookmark' features, commit da53684.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Eric Dillmann <eric@jave.fr>
Closes #2569

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 6 2014, 4:59 PM
Parents
rG1ffe90c5d3b6: Add bash completions by Aneurin Price.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGab6f407faa01: Use KM_PUSHPAGE in dsl_dataset_rollback_check() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 6 2014, 11:09 PM