Lines Matching full:state
62 ``state``
63 (optional) the engine must be in this state number in order for this
64 rule to match. See `State transitions`_ for information
102 write out unwritten block driver state (e.g. cached metadata)
111 State transitions
120 How do we match the 2nd ``write_aio`` but not the first? This is where state
123 The error injection engine has an integer called the "state" that always starts
124 initialized to 1. The state integer is internal to ``blkdebug`` and cannot be
128 Rules can be conditional on the current state and they can transition to a new
129 state.
131 When a rule's "state" attribute is non-zero then the current state must equal
136 [set-state]
138 state = "1"
143 state = "2"
146 The first ``write_aio`` request matches the ``set-state`` rule and transitions from
147 state 1 to state 2. Once state 2 has been entered, the ``set-state`` rule no
148 longer matches since it requires state 1. But the ``inject-error`` rule now
151 State transition rules support the following attributes:
158 ``state``
159 (optional) the engine must be in this state number in order for this
163 transition to this state number