aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-28 16:22:38 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:14:29 -0400
commitd49bafdc5d1659171d988888ebfc773629f8ca97 (patch)
treef9f40329493d5ca6c290ac6eca91a54b85eee8db /fs/bcachefs/debug.c
parentbcachefs: bch2_read_bio_to_text (diff)
downloadlinux-rng-d49bafdc5d1659171d988888ebfc773629f8ca97.tar.xz
linux-rng-d49bafdc5d1659171d988888ebfc773629f8ca97.zip
bcachefs: fast_list
A fast "list" data structure, which is actually a radix tree, with an IDA for slot allocation and a percpu buffer on top of that. Items cannot be added or moved to the head or tail, only added at some (arbitrary) position and removed. The advantage is that adding, removing and iteration is generally lockless, only hitting the lock in ida when the percpu buffer is full or empty. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/debug.c')
0 files changed, 0 insertions, 0 deletions