Searched refs:SCL_ZIO (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h915 #define SCL_ZIO 0x10 macro
920 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c758 * Callers must hold both the SCL_ALLOC and SCL_ZIO lock prior to passivating
770 ASSERT3U(spa_config_held(spa, SCL_ALLOC | SCL_ZIO, RW_WRITER), ==,
771 (SCL_ALLOC | SCL_ZIO));
785 * SCL_ZIO > SCL_FREE > SCL_VDEV
788 * a metaslab group, we must hold both the SCL_ALLOC and the SCL_ZIO
790 * to preload metaslabs so we must drop the SCL_ZIO lock and any
795 spa_config_exit(spa, locks & ~(SCL_ZIO - 1), spa);
797 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER);
4284 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER);
4286 spa_config_exit(spa, SCL_ZIO, FTA
[all...]
H A Dspa_misc.c151 * SCL_CONFIG > SCL_STATE > SCL_ALLOC > SCL_ZIO > SCL_FREE > SCL_VDEV.
157 * you must hold SCL_STATE and SCL_ZIO as writer.
162 * from disk (dmu_read() -> zio_read() -> SCL_ZIO).
165 * ability to hand off ownership. For example, SCL_ZIO is acquired
186 * SCL_ZIO
189 * protects all of its vdev child zios, which do not hold SCL_ZIO.
194 * SCL_ALLOC, and lower than SCL_ZIO, so that we can safely free
196 * SCL_ALLOC or SCL_ZIO is waiting for this i/o to complete.
1294 * SCL_ZIO lock it will result in a deadlock when we try to issue
1301 int low = locks & ~(SCL_ZIO
[all...]
H A Dzio.c3396 spa_config_enter(spa, SCL_ZIO, zio, RW_READER);
3624 spa_config_exit(zio->io_spa, SCL_ZIO, zio);
H A Dvdev.c1414 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) {
1418 * SCL_ZIO lock as writer; otherwise they can only
1427 * Since we hold SCL_ZIO as writer here, clear both

Completed in 184 milliseconds