Home
last modified time | relevance | path

Searched refs:spa_writeable (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dspa_history.c307 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()
H A Dspa.c2390 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 …]
H A Dvdev.c943 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()
H A Dspa_config.c246 !spa_writeable(spa)) in spa_config_sync()
H A Dvdev_mirror.c406 if (good_copies && spa_writeable(zio->io_spa) && in vdev_mirror_io_done()
H A Dzvol.c542 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()
H A Dmetaslab.c1395 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()
H A Ddmu_traverse.c128 if (claim_txg == 0 && spa_writeable(td->td_spa)) in traverse_zil()
H A Dvdev_disk.c454 if (validate_devid && spa_writeable(spa) && in vdev_disk_open()
H A Dzfs_vfsops.c455 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
1090 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
H A Dvdev_label.c650 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
H A Dddt.c920 if (dde->dde_repair_data != NULL && spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
H A Dspa_misc.c1933 spa_writeable(spa_t *spa) in spa_writeable() function
H A Dzio.c866 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()
H A Ddsl_scan.c538 if (claim_txg == 0 && spa_writeable(dp->dp_spa)) in dsl_scan_zil()
H A Dvdev_raidz.c2340 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done()
H A Ddmu_send.c944 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) { in dmu_send()
H A Dzfs_ioctl.c5960 else if ((check & POOL_CHECK_READONLY) && !spa_writeable(spa)) in pool_status_check()
H A Darc.c6938 if (!spa_writeable(spa)) { in l2arc_feed_thread()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h824 extern boolean_t spa_writeable(spa_t *spa);