diff options
author | George Wilson <george.wilson@delphix.com> | 2013-02-19 14:15:41 -0800 |
---|---|---|
committer | Christopher Siden <chris.siden@delphix.com> | 2013-02-19 14:16:09 -0800 |
commit | 16a4a8074274d2d7cc408589cf6359f4a378c861 (patch) | |
tree | 650f2908370935b9642f732c74c8f3a71b2ccbb6 /usr/src/uts/common/fs/zfs/vdev.c | |
parent | 20128a0826f9c53167caa9215c12f08beee48e30 (diff) | |
download | illumos-gate-16a4a8074274d2d7cc408589cf6359f4a378c861.tar.gz |
3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread
3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing)
3566 recursive mutex panic in specfs
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/fs/zfs/vdev.c')
-rw-r--r-- | usr/src/uts/common/fs/zfs/vdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/fs/zfs/vdev.c b/usr/src/uts/common/fs/zfs/vdev.c index 4f5c4e9c4d..41f9a07524 100644 --- a/usr/src/uts/common/fs/zfs/vdev.c +++ b/usr/src/uts/common/fs/zfs/vdev.c @@ -1836,6 +1836,7 @@ vdev_dtl_sync(vdev_t *vd, uint64_t txg) space_map_truncate(smo, mos, tx); space_map_sync(&smsync, SM_ALLOC, smo, mos, tx); + space_map_vacate(&smsync, NULL, NULL); space_map_destroy(&smsync); |