summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ztest/ztest.c
diff options
context:
space:
mode:
authorGeorge Wilson <George.Wilson@delphix.com>2011-05-29 06:08:44 -0700
committerGeorge Wilson <George.Wilson@delphix.com>2011-05-29 06:08:44 -0700
commit09c9d376e8ccb8fbba74f33cc268964464092b62 (patch)
tree13eb64ae3721a015788cd78c1595b0c083b4e80d /usr/src/cmd/ztest/ztest.c
parent23a9c295bad892ce51d86fda89698563b5810495 (diff)
downloadillumos-joyent-09c9d376e8ccb8fbba74f33cc268964464092b62.tar.gz
1051 zfs should handle imbalanced luns
Reviewed by: Eric Schrock <Eric.Schrock@delphix.com> Reviewed by: Matt Ahrens <Matt.Ahrens@delphix.com> Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
Diffstat (limited to 'usr/src/cmd/ztest/ztest.c')
-rw-r--r--usr/src/cmd/ztest/ztest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/ztest/ztest.c b/usr/src/cmd/ztest/ztest.c
index b2d81b5588..b80b17aa15 100644
--- a/usr/src/cmd/ztest/ztest.c
+++ b/usr/src/cmd/ztest/ztest.c
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 by Delphix. All rights reserved.
*/
/*
@@ -5131,6 +5132,7 @@ ztest_run(ztest_shared_t *zs)
*/
kernel_init(FREAD | FWRITE);
VERIFY(spa_open(zs->zs_pool, &spa, FTAG) == 0);
+ spa->spa_debug = B_TRUE;
zs->zs_spa = spa;
spa->spa_dedup_ditto = 2 * ZIO_DEDUPDITTO_MIN;