Deleted Added
full compact
dsl_pool.c (286689) dsl_pool.c (286763)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 401 unchanged lines hidden (view full) ---

410 if (dp->dp_meta_objset)
411 dmu_objset_evict(dp->dp_meta_objset);
412
413 txg_list_destroy(&dp->dp_dirty_datasets);
414 txg_list_destroy(&dp->dp_dirty_zilogs);
415 txg_list_destroy(&dp->dp_sync_tasks);
416 txg_list_destroy(&dp->dp_dirty_dirs);
417
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 401 unchanged lines hidden (view full) ---

410 if (dp->dp_meta_objset)
411 dmu_objset_evict(dp->dp_meta_objset);
412
413 txg_list_destroy(&dp->dp_dirty_datasets);
414 txg_list_destroy(&dp->dp_dirty_zilogs);
415 txg_list_destroy(&dp->dp_sync_tasks);
416 txg_list_destroy(&dp->dp_dirty_dirs);
417
418 arc_flush(dp->dp_spa);
418 /*
419 * We can't set retry to TRUE since we're explicitly specifying
420 * a spa to flush. This is good enough; any missed buffers for
421 * this spa won't cause trouble, and they'll eventually fall
422 * out of the ARC just like any other unused buffer.
423 */
424 arc_flush(dp->dp_spa, FALSE);
425
419 txg_fini(dp);
420 dsl_scan_fini(dp);
421 dmu_buf_user_evict_wait();
422
423 rrw_destroy(&dp->dp_config_rwlock);
424 mutex_destroy(&dp->dp_lock);
425 taskq_destroy(dp->dp_vnrele_taskq);
426 if (dp->dp_blkstats)

--- 738 unchanged lines hidden ---
426 txg_fini(dp);
427 dsl_scan_fini(dp);
428 dmu_buf_user_evict_wait();
429
430 rrw_destroy(&dp->dp_config_rwlock);
431 mutex_destroy(&dp->dp_lock);
432 taskq_destroy(dp->dp_vnrele_taskq);
433 if (dp->dp_blkstats)

--- 738 unchanged lines hidden ---