WSL2-Linux-Kernel/drivers/md/bcache
Kent Overstreet 3a3b6a4e07 bcache: Don't bother with bucket refcount for btree node allocations
The bucket refcount (dropped with bkey_put()) is only needed to prevent
the newly allocated bucket from being garbage collected until we've
added a pointer to it somewhere. But for btree node allocations, the
fact that we have btree nodes locked is enough to guard against races
with garbage collection.

Eventually the per bucket refcount is going to be replaced with
something specific to bch_alloc_sectors().

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
2013-11-10 21:56:34 -08:00
..
Kconfig bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
Makefile bcache: A block layer cache 2013-03-23 16:11:31 -07:00
alloc.c bcache: Don't bother with bucket refcount for btree node allocations 2013-11-10 21:56:34 -08:00
bcache.h bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
bset.c bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
bset.h bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
btree.c bcache: Don't bother with bucket refcount for btree node allocations 2013-11-10 21:56:34 -08:00
btree.h bcache: Don't bother with bucket refcount for btree node allocations 2013-11-10 21:56:34 -08:00
closure.c bcache: Drop some closure stuff 2013-11-10 21:56:10 -08:00
closure.h bcache: Drop some closure stuff 2013-11-10 21:56:10 -08:00
debug.c bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
debug.h bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
io.c bcache: Use standard utility code 2013-07-01 14:43:53 -07:00
journal.c bcache: Pull on disk data structures out into a separate header 2013-11-10 21:56:33 -08:00
journal.h bcache: Pull on disk data structures out into a separate header 2013-11-10 21:56:33 -08:00
movinggc.c bcache: Break up struct search 2013-11-10 21:56:32 -08:00
request.c bcache: Pull on disk data structures out into a separate header 2013-11-10 21:56:33 -08:00
request.h bcache: Move sector allocator to alloc.c 2013-11-10 21:56:32 -08:00
stats.c bcache: Break up struct search 2013-11-10 21:56:32 -08:00
stats.h bcache: Break up struct search 2013-11-10 21:56:32 -08:00
super.c bcache: Don't bother with bucket refcount for btree node allocations 2013-11-10 21:56:34 -08:00
sysfs.c bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
sysfs.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
trace.c bcache: Break up struct search 2013-11-10 21:56:32 -08:00
util.c bcache: Fix a writeback performance regression 2013-09-24 14:41:43 -07:00
util.h bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
writeback.c bcache: Convert bch_btree_insert() to bch_btree_map_leaf_nodes() 2013-11-10 21:56:31 -08:00
writeback.h bcache: Convert writeback to a kthread 2013-11-10 21:56:05 -08:00