mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 03:06:43 +00:00
a8c752bb1d
This patch adds backpointers: we now have a reverse index from device and offset on that device (specifically, offset within a bucket) back to btree nodes and (non cached) data extents. The first 40 backpointers within a bucket are stored in the alloc key; after that backpointers spill over to the next backpointers btree. This is to help avoid performance regressions from additional btree updates on large streaming workloads. This patch adds all the code for creating, checking and repairing backpointers. The next patch in the series is going to use backpointers for copygc - finally getting rid of the need to scan all extents to do copygc. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
77 lines
1.2 KiB
Makefile
77 lines
1.2 KiB
Makefile
|
|
obj-$(CONFIG_BCACHEFS_FS) += bcachefs.o
|
|
|
|
bcachefs-y := \
|
|
alloc_background.o \
|
|
alloc_foreground.o \
|
|
backpointers.o \
|
|
bkey.o \
|
|
bkey_methods.o \
|
|
bkey_sort.o \
|
|
bset.o \
|
|
btree_cache.o \
|
|
btree_gc.o \
|
|
btree_io.o \
|
|
btree_iter.o \
|
|
btree_key_cache.o \
|
|
btree_locking.o \
|
|
btree_update_interior.o \
|
|
btree_update_leaf.o \
|
|
btree_write_buffer.o \
|
|
buckets.o \
|
|
buckets_waiting_for_journal.o \
|
|
chardev.o \
|
|
checksum.o \
|
|
clock.o \
|
|
compress.o \
|
|
counters.o \
|
|
debug.o \
|
|
dirent.o \
|
|
disk_groups.o \
|
|
data_update.o \
|
|
ec.o \
|
|
errcode.o \
|
|
error.o \
|
|
extents.o \
|
|
extent_update.o \
|
|
fs.o \
|
|
fs-common.o \
|
|
fs-ioctl.o \
|
|
fs-io.o \
|
|
fsck.o \
|
|
inode.o \
|
|
io.o \
|
|
journal.o \
|
|
journal_io.o \
|
|
journal_reclaim.o \
|
|
journal_sb.o \
|
|
journal_seq_blacklist.o \
|
|
keylist.o \
|
|
lru.o \
|
|
mean_and_variance.o \
|
|
migrate.o \
|
|
move.o \
|
|
movinggc.o \
|
|
opts.o \
|
|
printbuf.o \
|
|
quota.o \
|
|
rebalance.o \
|
|
recovery.o \
|
|
reflink.o \
|
|
replicas.o \
|
|
siphash.o \
|
|
six.o \
|
|
subvolume.o \
|
|
super.o \
|
|
super-io.o \
|
|
sysfs.o \
|
|
tests.o \
|
|
trace.o \
|
|
two_state_shared_lock.o \
|
|
util.o \
|
|
varint.o \
|
|
xattr.o
|
|
|
|
bcachefs-$(CONFIG_BCACHEFS_POSIX_ACL) += acl.o
|
|
obj-$(CONFIG_MEAN_AND_VARIANCE_UNIT_TEST) += mean_and_variance_test.o
|