Searched refs:spa_writeable (Results 1 – 25 of 25) sorted by relevance
389 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()446 if (*offp == 0 && spa_writeable(spa)) in spa_history_get()532 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal()
1371 if (!spa_writeable(spa)) in spa_should_flush_logs_on_unload()1601 if (!spa_writeable(spa)) in spa_load_spares()1733 if (!spa_writeable(spa)) in spa_load_l2cache()2287 ASSERT(spa_writeable(spa)); in spa_spawn_aux_threads()3378 if (spa_writeable(spa) ||3422 spa_writeable(spa))) {3776 if (type != SPA_IMPORT_ASSEMBLE && spa_writeable(spa)) {4048 if (spa_writeable(spa)) {4293 if (spa_writeable(spa) && (spa->spa_load_state == SPA_LOAD_RECOVER ||5747 if (error != 0 || (props && spa_writeable(spa) &&[all …]
412 if (!spa_writeable(spa)) in spa_log_summary_decrement_mscount()1112 if (!spa_writeable(spa)) in spa_ld_log_sm_data()
243 !spa_writeable(spa)) in spa_write_cachefile()
244 if (spa_writeable(spa)) { in mmp_thread_start()
1362 if (zio->io_error == 0 && spa_writeable(spa)) { in vdev_probe_done()1381 (vdev_writeable(vd) || !spa_writeable(spa))) { in vdev_probe_done()2336 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dirty()2402 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dtl_dirty()4138 ASSERT(spa_writeable(spa)); in vdev_config_dirty()4229 ASSERT(spa_writeable(spa)); in vdev_state_dirty()4284 (!vdev_writeable(child) && spa_writeable(spa))) { in vdev_propagate_state()
584 ASSERT(spa_writeable(zilog->zl_spa)); in zilog_dirty()2297 ASSERT(spa_writeable(zilog->zl_spa)); in zil_commit_writer()2484 ASSERT(spa_writeable(zilog->zl_spa)); in zil_commit_waiter()2763 if (!spa_writeable(zilog->zl_spa)) { in zil_commit()
555 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os))) in zvol_create_minor()565 if (spa_writeable(dmu_objset_spa(os))) { in zvol_create_minor()660 !spa_writeable(dmu_objset_spa(os))) in zvol_first_open()
854 if (spa_writeable(spa)) { in spa_condense_init()1408 if (!spa_writeable(zio->io_spa)) in vdev_indirect_repair()
716 if (good_copies && spa_writeable(zio->io_spa) && in vdev_mirror_io_done()
129 if (claim_txg == 0 && spa_writeable(td->td_spa)) in traverse_zil()
463 if (!spa_writeable(spa)) in spa_restart_removal()2075 ASSERT(spa_writeable(spa)); in spa_vdev_remove()
2050 if (!spa_writeable(msp->ms_group->mg_vd->vdev_spa)) in metaslab_verify_weight_and_frag()2817 if (spa_writeable(spa) && txg < spa_final_dirty_txg(spa)) { in metaslab_set_fragmentation()5564 if ((txg != 0 && spa_writeable(spa)) || !msp->ms_loaded) in metaslab_claim_concrete()5590 if (spa_writeable(spa)) { /* don't dirty if we're zdb(8) */ in metaslab_claim_concrete()5641 ASSERT(!spa_writeable(vd->vdev_spa)); in metaslab_claim_impl()
463 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()1310 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
944 if (dde->dde_repair_abd != NULL && spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
2416 spa_writeable(dmu_objset_spa(os))); in dmu_objset_userobjspace_upgradable()2426 spa_writeable(dmu_objset_spa(os))); in dmu_objset_projectquota_upgradable()
976 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
1301 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) { in dmu_send()
2341 spa_writeable(spa_t *spa) in spa_writeable() function
1119 ASSERT(!BP_GET_DEDUP(bp) || !spa_writeable(spa)); /* zdb(8) */ in zio_claim()3489 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
2466 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done()
8820 if (!spa_writeable(spa)) { in l2arc_feed_thread()9013 } else if (spa_writeable(spa)) { in l2arc_rebuild_vdev()
1415 ASSERT(spa_writeable(dp->dp_spa)); in dsl_scan_zil()
7070 else if ((check & POOL_CHECK_READONLY) && !spa_writeable(spa)) in pool_status_check()
984 extern boolean_t spa_writeable(spa_t *spa);