Searched refs:spa_writeable (Results 1 – 20 of 20) sorted by relevance
306 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()358 if (*offp == 0 && spa_writeable(spa)) in spa_history_get()444 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal()
2389 if (spa_writeable(spa) || state == SPA_LOAD_TRYIMPORT) { in spa_load_impl()2432 spa_writeable(spa))) { in spa_load_impl()2694 if (spa_writeable(spa) && spa_check_logs(spa)) { in spa_load_impl()2721 if (spa_writeable(spa) && (state == SPA_LOAD_RECOVER || in spa_load_impl()4026 if (error != 0 || (props && spa_writeable(spa) && in spa_import()4080 if (spa_writeable(spa)) { in spa_import()4352 ASSERT(spa_writeable(spa)); in spa_vdev_add()4465 ASSERT(spa_writeable(spa)); in spa_vdev_attach()4667 ASSERT(spa_writeable(spa)); in spa_vdev_detach()4907 ASSERT(spa_writeable(spa)); in spa_vdev_split_mirror()[all …]
942 if (zio->io_error == 0 && spa_writeable(spa)) { in vdev_probe_done()961 (vdev_writeable(vd) || !spa_writeable(spa))) { in vdev_probe_done()1614 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dirty()1680 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dtl_dirty()2912 ASSERT(spa_writeable(spa)); in vdev_config_dirty()3002 ASSERT(spa_writeable(spa)); in vdev_state_dirty()3055 (!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()
541 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os))) in zvol_create_minor()553 if (spa_writeable(dmu_objset_spa(os))) { in zvol_create_minor()649 !spa_writeable(dmu_objset_spa(os))) in zvol_first_open()
1394 if (spa_writeable(spa)) { in metaslab_fragmentation()2443 if ((txg != 0 && spa_writeable(spa)) || !msp->ms_loaded) in metaslab_claim_dva()2460 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()
436 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()1086 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
649 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
919 if (dde->dde_repair_data != NULL && spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
1925 spa_writeable(spa_t *spa) in spa_writeable() function
865 ASSERT(!BP_GET_DEDUP(bp) || !spa_writeable(spa)); /* zdb(1M) */ in zio_claim()2651 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
532 if (claim_txg == 0 && spa_writeable(dp->dp_spa)) in dsl_scan_zil()
2339 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done()
943 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) { in dmu_send()
5846 else if ((check & POOL_CHECK_READONLY) && !spa_writeable(spa)) in pool_status_check()
6879 if (!spa_writeable(spa)) { in l2arc_feed_thread()
814 extern boolean_t spa_writeable(spa_t *spa);