diff options
author | Tim Chase <[email protected]> | 2014-03-08 17:01:16 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-03-10 09:09:30 -0700 |
commit | a45fc6a677bee01c0461b848e6e47ac3cb7797df (patch) | |
tree | 40d289c7f1a8c8fcf32be9d9b3f16b0bbfe93e01 | |
parent | e74400155f40f21361e9e3015396c3b0152a33fd (diff) |
Use KM_PUSHPAGE in spa_add() for spa_label_features.
The spa_label_features nvlist is used in the sync context during pool
version upgrade.
Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2168
-rw-r--r-- | module/zfs/spa_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index 58c4e67bd..f1e1a7258 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -542,7 +542,7 @@ spa_add(const char *name, nvlist_t *config, const char *altroot) if (spa->spa_label_features == NULL) { VERIFY(nvlist_alloc(&spa->spa_label_features, NV_UNIQUE_NAME, - KM_SLEEP) == 0); + KM_PUSHPAGE) == 0); } spa->spa_debug = ((zfs_flags & ZFS_DEBUG_SPA) != 0); |