Lines Matching refs:glock
4 This documents the basic principles of the glock state machine
5 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
17 just the holders) associated with the glock. If there are any
23 There are three lock states that users of the glock layer can request,
29 UN | IV/NL Unlocked (no DLM lock associated with glock) or NL
46 These rules are implemented using the various glock operations which
47 are defined for each type of glock. Not all types of glocks use
50 Table of glock operations and per type constants:
57 go_demote_ok | Returns boolean value of whether its ok to demote a glock
62 | error to dump glock to the log.
63 go_type | The type of the glock, LM_TYPE_.....
65 go_flags | GLOF_ASPACE is set, if the glock has an address space
79 Also, eventually we hope to make the glock "EX" mode locally shared
81 rather than via the glock.
83 Locking rules for glock operations:
98 Note that go_dump will only be called if the glock's state
104 2. Rename glock (for rename only)
105 3. Inode glock(s)
108 4. Rgrp glock(s) (for (de)allocation operations)
109 5. Transaction glock (via gfs2_trans_begin) for non-read operations
114 glock is used in conjunction with the i_nlink field in the inode to
123 super block and those relating to an individual glock. The
126 further divided by glock type. All timings are in nanoseconds.
128 In the case of both the super block and glock statistics,
131 the glock timing statistics, so that newly created glocks
133 The per-glock counters are initialised to zero when the
134 glock is created. The per-glock statistics are lost when
135 the glock is ejected from memory.
165 is counting queuing of holders at the top layer of the glock
172 1. To be able to better set the glock "min hold time"
185 the average time between lock requests for a glock means we
187 node is able to use a glock vs. time that the rest of the
199 Per glock stats can be found here:
215 queue - Number of glock requests queued (qcnt in glstats file)
217 The sbstats file contains a set of these stats for each glock type (so 8 lines
219 a set of these stats for each glock in a similar format to the glocks file, but
223 for the glock in question, along with some addition information on each dlm