]> granicus.if.org Git - zfs/commit
Use KM_PUSHPAGE in dsl_dataset_rollback_check()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Aug 2014 16:59:01 +0000 (09:59 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Aug 2014 23:09:28 +0000 (16:09 -0700)
commitab6f407faa0188219fb4852ac5e05f1934c985ee
tree86b2323b78721c506ae726c742462f7e51c2c587
parent1ffe90c5d3b63d2e7f9fab02da20671965e1d7b4
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
module/zfs/dsl_dataset.c