mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-06 08:06:56 +00:00
e70dbedb7bd2f8728e41bb848fb49345693fca9f
This is a bit trickier than just dropping in a cw holders count. dlmglue was comparing levels by a simple greater than or less than check. Since CW locks are not compatible with PR or EX, this check breaks down. Instead we provide a function which can tell us whether a conversion to a given lock levels is is compatible (cache-wise) with the level we have. We also have some slightly more complicated logic in downconvert. As a result we update the helper that dlmglue uses to choose a downconvert level. Signed-off-by: Mark Fasheh <mfasheh@versity.com>
Description
No description provided
7.7 MiB
Languages
C
86.4%
Shell
10%
Roff
2.5%
TeX
0.8%
Makefile
0.3%