Searched refs:spa_writeable (Results 1 – 20 of 20) sorted by relevance
307 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()359 if (*offp == 0 && spa_writeable(spa)) in spa_history_get()445 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal()
2390 if (spa_writeable(spa) || state == SPA_LOAD_TRYIMPORT) { in spa_load_impl()2433 spa_writeable(spa))) { in spa_load_impl()2708 if (spa_writeable(spa) && spa_check_logs(spa)) { in spa_load_impl()2735 if (spa_writeable(spa) && (state == SPA_LOAD_RECOVER || in spa_load_impl()4048 if (error != 0 || (props && spa_writeable(spa) && in spa_import()4102 if (spa_writeable(spa)) { in spa_import()4377 ASSERT(spa_writeable(spa)); in spa_vdev_add()4491 ASSERT(spa_writeable(spa)); in spa_vdev_attach()4695 ASSERT(spa_writeable(spa)); in spa_vdev_detach()4935 ASSERT(spa_writeable(spa)); in spa_vdev_split_mirror()[all …]
943 if (zio->io_error == 0 && spa_writeable(spa)) { in vdev_probe_done()962 (vdev_writeable(vd) || !spa_writeable(spa))) { in vdev_probe_done()1615 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dirty()1681 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dtl_dirty()2922 ASSERT(spa_writeable(spa)); in vdev_config_dirty()3012 ASSERT(spa_writeable(spa)); in vdev_state_dirty()3065 (!vdev_writeable(child) && spa_writeable(spa))) { in vdev_propagate_state()
246 !spa_writeable(spa)) in spa_config_sync()
406 if (good_copies && spa_writeable(zio->io_spa) && in vdev_mirror_io_done()
542 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os))) in zvol_create_minor()554 if (spa_writeable(dmu_objset_spa(os))) { in zvol_create_minor()650 !spa_writeable(dmu_objset_spa(os))) in zvol_first_open()
1395 if (spa_writeable(spa)) { in metaslab_fragmentation()2445 if ((txg != 0 && spa_writeable(spa)) || !msp->ms_loaded) in metaslab_claim_dva()2462 if (spa_writeable(spa)) { /* don't dirty if we're zdb(1M) */ in metaslab_claim_dva()
128 if (claim_txg == 0 && spa_writeable(td->td_spa)) in traverse_zil()
454 if (validate_devid && spa_writeable(spa) && in vdev_disk_open()
455 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()1090 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
650 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
920 if (dde->dde_repair_data != NULL && spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
1933 spa_writeable(spa_t *spa) in spa_writeable() function
866 ASSERT(!BP_GET_DEDUP(bp) || !spa_writeable(spa)); /* zdb(1M) */ in zio_claim()2719 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
538 if (claim_txg == 0 && spa_writeable(dp->dp_spa)) in dsl_scan_zil()
2340 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done()
944 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) { in dmu_send()
5960 else if ((check & POOL_CHECK_READONLY) && !spa_writeable(spa)) in pool_status_check()
6938 if (!spa_writeable(spa)) { in l2arc_feed_thread()
824 extern boolean_t spa_writeable(spa_t *spa);