git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix txg_quiesce thread deadlock
[zfs.git]
/
module
/
zfs
/
dsl_pool.c
diff --git
a/module/zfs/dsl_pool.c
b/module/zfs/dsl_pool.c
index
704f034
..
771b265
100644
(file)
--- a/
module/zfs/dsl_pool.c
+++ b/
module/zfs/dsl_pool.c
@@
-143,7
+143,7
@@
dsl_pool_txg_history_add(dsl_pool_t *dp, uint64_t txg)
{
txg_history_t *th, *rm;
- th = kmem_zalloc(sizeof(txg_history_t), KM_
SLEEP
);
+ th = kmem_zalloc(sizeof(txg_history_t), KM_
PUSHPAGE
);
mutex_init(&th->th_lock, NULL, MUTEX_DEFAULT, NULL);
th->th_kstat.txg = txg;
th->th_kstat.state = TXG_STATE_OPEN;