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

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h883 #define SCL_ZIO 0x10 macro
888 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c895 * Callers must hold both the SCL_ALLOC and SCL_ZIO lock prior to passivating
907 ASSERT3U(spa_config_held(spa, SCL_ALLOC | SCL_ZIO, RW_WRITER), ==,
908 (SCL_ALLOC | SCL_ZIO));
922 * SCL_ZIO > SCL_FREE > SCL_VDEV
925 * a metaslab group, we must hold both the SCL_ALLOC and the SCL_ZIO
927 * to preload metaslabs so we must drop the SCL_ZIO lock and any
932 spa_config_exit(spa, locks & ~(SCL_ZIO - 1), spa);
934 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER);
5090 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER);
5092 spa_config_exit(spa, SCL_ZIO, FTA
[all...]
H A Dspa_misc.c155 * SCL_CONFIG > SCL_STATE > SCL_ALLOC > SCL_ZIO > SCL_FREE > SCL_VDEV.
161 * you must hold SCL_STATE and SCL_ZIO as writer.
166 * from disk (dmu_read() -> zio_read() -> SCL_ZIO).
169 * ability to hand off ownership. For example, SCL_ZIO is acquired
190 * SCL_ZIO
193 * protects all of its vdev child zios, which do not hold SCL_ZIO.
198 * SCL_ALLOC, and lower than SCL_ZIO, so that we can safely free
200 * SCL_ALLOC or SCL_ZIO is waiting for this i/o to complete.
1335 * SCL_ZIO lock it will result in a deadlock when we try to issue
1342 int low = locks & ~(SCL_ZIO
[all...]
H A Dzio.c3402 spa_config_enter(spa, SCL_ZIO, zio, RW_READER);
3634 spa_config_exit(zio->io_spa, SCL_ZIO, zio);
H A Dvdev.c1423 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) {
1427 * SCL_ZIO lock as writer; otherwise they can only
1436 * Since we hold SCL_ZIO as writer here, clear both

Completed in 124 milliseconds