spa_misc.c (219089) | spa_misc.c (224177) |
---|---|
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 --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. | 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 --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2011 by Delphix. All rights reserved. |
|
23 */ 24 25#include <sys/zfs_context.h> 26#include <sys/spa_impl.h> 27#include <sys/zio.h> 28#include <sys/zio_checksum.h> 29#include <sys/zio_compress.h> 30#include <sys/dmu.h> --- 1638 unchanged lines hidden (view full) --- 1669 ps->pss_state = scn->scn_phys.scn_state; 1670 1671 /* data not stored on disk */ 1672 ps->pss_pass_start = spa->spa_scan_pass_start; 1673 ps->pss_pass_exam = spa->spa_scan_pass_exam; 1674 1675 return (0); 1676} | 24 */ 25 26#include <sys/zfs_context.h> 27#include <sys/spa_impl.h> 28#include <sys/zio.h> 29#include <sys/zio_checksum.h> 30#include <sys/zio_compress.h> 31#include <sys/dmu.h> --- 1638 unchanged lines hidden (view full) --- 1670 ps->pss_state = scn->scn_phys.scn_state; 1671 1672 /* data not stored on disk */ 1673 ps->pss_pass_start = spa->spa_scan_pass_start; 1674 ps->pss_pass_exam = spa->spa_scan_pass_exam; 1675 1676 return (0); 1677} |
1678 1679boolean_t 1680spa_debug_enabled(spa_t *spa) 1681{ 1682 return (spa->spa_debug); 1683} |
|