Lines Matching +full:three +full:- +full:state
1 .. SPDX-License-Identifier: GPL-2.0
7 This documents the basic principles of the glock state machine
11 1. A spinlock (gl_lockref.lock) which protects the internal state such
13 2. A non-blocking bit lock, GLF_LOCK, which is used to prevent other
25 There are three lock states that users of the glock layer can request,
61 go_sync Called before remote state change (e.g. to sync dirty data)
62 go_xmote_bh Called after remote state change (e.g. to refill cache)
63 go_inval Called if remote state change requires invalidating the cache
107 Note that go_dump will only be called if the glock's state
118 5. Transaction glock (via gfs2_trans_begin) for non-read operations
126 is on a per-inode basis. Locking of rgrps is on a per rgrp basis.
130 ----------------
143 The per-glock counters are initialised to zero when the
144 glock is created. The per-glock statistics are lost when
147 The statistics are divided into three pairs of mean and
152 Volume 1", W. Richard Stevens, sect 21.3, "Round-Trip Time Measurement",
157 The three pairs of mean/variance measure the following
160 1. DLM lock time (non-blocking requests)
162 3. Inter-request time (again to the DLM)
164 A non-blocking request is one which will complete right
165 away, whatever the state of the DLM lock in question. That
166 currently means any requests when (a) the current state of
168 state is either null or unlocked (again, a demotion) or (c) the