diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-18 06:14:56 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-05-06 17:14:13 -0400 |
commit | b3785d8f7feca002a2ebaf287acecb27c34fc61a (patch) | |
tree | 45ef1a38dace4863608d179a06e7e6d118d55c8b /mm/filemap.c | |
parent | 861f5a04884f9d6564c94c7359dd0076e1953fea (diff) |
locking: SIX locks (shared/intent/exclusive)
New lock for bcachefs, like read/write locks but with a third state,
intent.
Intent locks conflict with each other, but not with read locks; taking a
write lock requires first holding an intent lock.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions