From 16a4a8074274d2d7cc408589cf6359f4a378c861 Mon Sep 17 00:00:00 2001 From: George Wilson Date: Tue, 19 Feb 2013 14:15:41 -0800 Subject: 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 Reviewed by: Dan Kimmel Reviewed by: Matthew Ahrens Approved by: Richard Lowe --- usr/src/uts/common/fs/zfs/vdev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/src/uts/common/fs/zfs/vdev.c') 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); -- cgit v1.2.3