linux/fs/bcachefs
Kent Overstreet e222d206f2 bcachefs: Fix ec_stripes_read()
Change it to not mark keys that will be overwritten by keys in the
journal - this fixes a bug where we pop an assertion in
bucket_set_stripe() because of a stale pointer - because the stripe that
has the stale pointer has been deleted.

This code could be factored out and used elsewhere, at some point.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:08:24 -04:00
..
acl.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
acl.h
alloc_background.c bcachefs: Improve key marking interface 2023-10-22 17:08:22 -04:00
alloc_background.h bcachefs: Various improvements to bch2_alloc_write() 2023-10-22 17:08:21 -04:00
alloc_foreground.c bcachefs: Fix promoting to cache devices (durability = 0) 2023-10-22 17:08:23 -04:00
alloc_foreground.h bcachefs: Fix some reserve calculations 2023-10-22 17:08:14 -04:00
alloc_types.h bcachefs: Fix some reserve calculations 2023-10-22 17:08:14 -04:00
bcachefs_format.h bcachefs: Fix for building with old gcc 2023-10-22 17:08:23 -04:00
bcachefs_ioctl.h bcachefs: Fix duplicate ioctl nr 2023-10-22 17:08:13 -04:00
bcachefs.h bcachefs: Write out fs usage consistently 2023-10-22 17:08:21 -04:00
bkey_methods.c bcachefs: Check for key size > offset 2023-10-22 17:08:23 -04:00
bkey_methods.h bcachefs: bkey_merge() now takes bkey_s 2023-10-22 17:08:23 -04:00
bkey_sort.c bcachefs: Reduce BKEY_PADDED usage 2023-10-22 17:08:23 -04:00
bkey_sort.h bcachefs: Make bkey types globally unique 2023-10-22 17:08:12 -04:00
bkey.c bcachefs: cmp_int() 2023-10-22 17:08:20 -04:00
bkey.h bcachefs: Don't overflow stack in bch2_extent_merge_inline() 2023-10-22 17:08:23 -04:00
bset.c bcachefs: move some checks to expensive_debug_checks 2023-10-22 17:08:19 -04:00
bset.h bcachefs: cmp_int() 2023-10-22 17:08:20 -04:00
btree_cache.c bcachefs: use memalloc_nofs_save() for vmalloc allocation 2023-10-22 17:08:23 -04:00
btree_cache.h bcachefs: Don't pass around may_drop_locks 2023-10-22 17:08:22 -04:00
btree_gc.c bcachefs: Improve key marking interface 2023-10-22 17:08:22 -04:00
btree_gc.h bcachefs: btree_bkey_cached_common 2023-10-22 17:08:21 -04:00
btree_io.c bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
btree_io.h bcachefs: btree_bkey_cached_common 2023-10-22 17:08:21 -04:00
btree_iter.c bcachefs: Fix an error path in bch2_btree_iter_traverse() 2023-10-22 17:08:22 -04:00
btree_iter.h bcachefs: Rip out old hacky transaction restart tracing 2023-10-22 17:08:22 -04:00
btree_locking.h bcachefs: kill BTREE_ITER_NOUNLOCK 2023-10-22 17:08:22 -04:00
btree_types.h bcachefs: Update path now handles triggers that generate more triggers 2023-10-22 17:08:23 -04:00
btree_update_interior.c bcachefs: Improve key marking interface 2023-10-22 17:08:22 -04:00
btree_update_interior.h bcachefs: btree_bkey_cached_common 2023-10-22 17:08:21 -04:00
btree_update_leaf.c bcachefs: Update path now handles triggers that generate more triggers 2023-10-22 17:08:23 -04:00
btree_update.h bcachefs: Improve key marking interface 2023-10-22 17:08:22 -04:00
buckets_types.h bcachefs: Don't use a fixed size buffer for fs_usage_deltas 2023-10-22 17:08:22 -04:00
buckets.c bcachefs: Refactor trans_(get|update)_key 2023-10-22 17:08:23 -04:00
buckets.h bcachefs: Update path now handles triggers that generate more triggers 2023-10-22 17:08:23 -04:00
chardev.c bcachefs: some improvements to startup messages and options 2023-10-22 17:08:21 -04:00
chardev.h
checksum.c bcachefs: kill bio_for_each_contig_segment() 2023-10-22 17:08:23 -04:00
checksum.h bcachefs: kill bch2_crc64_update 2023-10-22 17:08:23 -04:00
clock_types.h
clock.c bcachefs: add functionality for heaps to update backpointers 2023-10-22 17:08:10 -04:00
clock.h
compress.c bcachefs: Fix moving compressed data 2023-10-22 17:08:23 -04:00
compress.h
debug.c bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
debug.h
dirent.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
dirent.h bcachefs: Fsck locking improvements 2023-10-22 17:08:19 -04:00
disk_groups.c bcachefs: revamp to_text methods 2023-10-22 17:08:11 -04:00
disk_groups.h bcachefs: Erasure coding 2023-10-22 17:08:11 -04:00
ec_types.h bcachefs: Persist stripe blocks_used 2023-10-22 17:08:15 -04:00
ec.c bcachefs: Fix ec_stripes_read() 2023-10-22 17:08:24 -04:00
ec.h bcachefs: Deduplicate keys in the journal before replay 2023-10-22 17:08:20 -04:00
error.c bcachefs: Track whether filesystem has errors in superblock 2023-10-22 17:08:19 -04:00
error.h
extents_types.h bcachefs: improve/clarify ptr_disk_sectors() 2023-10-22 17:08:13 -04:00
extents.c bcachefs: Don't allow bkey vals that are too big in extents btree 2023-10-22 17:08:23 -04:00
extents.h bcachefs: bkey_merge() now takes bkey_s 2023-10-22 17:08:23 -04:00
eytzinger.h bcachefs: Fix check for if extent update is allocating 2023-10-22 17:08:14 -04:00
fifo.h bcachefs: Convert bucket invalidation to key marking path 2023-10-22 17:08:16 -04:00
fs-io.c bcachefs: Track dirtyness at sector level, not page 2023-10-22 17:08:24 -04:00
fs-io.h bcachefs: Always touch page state with page locked 2023-10-22 17:08:23 -04:00
fs-ioctl.c bcachefs: Improve bch2_lock_inodes() 2023-10-22 17:08:23 -04:00
fs-ioctl.h bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fs.c bcachefs: Always touch page state with page locked 2023-10-22 17:08:23 -04:00
fs.h bcachefs: Improve bch2_lock_inodes() 2023-10-22 17:08:23 -04:00
fsck.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
fsck.h bcachefs: some improvements to startup messages and options 2023-10-22 17:08:21 -04:00
inode.c bcachefs: add inode_generation_to_text method 2023-10-22 17:08:23 -04:00
inode.h bcachefs: Rewrite journal_seq_blacklist machinery 2023-10-22 17:08:20 -04:00
io_types.h bcachefs: extent_ptr_decoded 2023-10-22 17:08:10 -04:00
io.c bcachefs: Fix moving compressed data 2023-10-22 17:08:23 -04:00
io.h bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
journal_io.c bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
journal_io.h bcachefs: Journal replay refactoring 2023-10-22 17:08:20 -04:00
journal_reclaim.c bcachefs: minor journal reclaim fixes 2023-10-22 17:08:17 -04:00
journal_reclaim.h bcachefs: Don't block on reclaim_lock from journal_res_get 2023-10-22 17:08:17 -04:00
journal_seq_blacklist.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
journal_seq_blacklist.h bcachefs: Rewrite journal_seq_blacklist machinery 2023-10-22 17:08:20 -04:00
journal_types.h bcachefs: Journal replay refactoring 2023-10-22 17:08:20 -04:00
journal.c bcachefs: Fix journal shutdown path 2023-10-22 17:08:21 -04:00
journal.h bcachefs: delete duplicated code 2023-10-22 17:08:20 -04:00
Kconfig bcachefs: use crc64 from lib/ 2023-10-22 17:08:14 -04:00
keylist_types.h
keylist.c
keylist.h
Makefile bcachefs: Split out bkey_sort.c 2023-10-22 17:08:12 -04:00
migrate.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
migrate.h
move_types.h bcachefs: Only get btree iters from btree transactions 2023-10-22 17:08:18 -04:00
move.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
move.h bcachefs: Make bkey types globally unique 2023-10-22 17:08:12 -04:00
movinggc.c bcachefs: Fix starting copygc when already started 2023-10-22 17:08:22 -04:00
movinggc.h
opts.c bcachefs: Lots of option handling improvements 2023-10-22 17:08:14 -04:00
opts.h bcachefs: Don't run fsck by default at mount time 2023-10-22 17:08:21 -04:00
quota_types.h bcachefs: bch2_fs_quota_transfer 2023-10-22 17:08:13 -04:00
quota.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
quota.h bcachefs: more project quota fixes 2023-10-22 17:08:14 -04:00
rebalance_types.h
rebalance.c bcachefs: Only get btree iters from btree transactions 2023-10-22 17:08:18 -04:00
rebalance.h
recovery.c bcachefs: Fix ec_stripes_read() 2023-10-22 17:08:24 -04:00
recovery.h bcachefs: Fix ec_stripes_read() 2023-10-22 17:08:24 -04:00
replicas_types.h bcachefs: Switch replicas to mark_lock 2023-10-22 17:08:13 -04:00
replicas.c bcachefs: Redo replicas gc mechanism 2023-10-22 17:08:21 -04:00
replicas.h bcachefs: Redo replicas gc mechanism 2023-10-22 17:08:21 -04:00
siphash.c
siphash.h
six.c
six.h
str_hash.h bcachefs: kill bch2_crc64_update 2023-10-22 17:08:23 -04:00
super_types.h bcachefs: Verify fs hasn't been modified before going rw 2023-10-22 17:08:18 -04:00
super-io.c bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
super-io.h bcachefs: Verify fs hasn't been modified before going rw 2023-10-22 17:08:18 -04:00
super.c bcachefs: Fix stripe_idx_to_delete() 2023-10-22 17:08:24 -04:00
super.h bcachefs: some improvements to startup messages and options 2023-10-22 17:08:21 -04:00
sysfs.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
sysfs.h
tests.c bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
tests.h
trace.c
trace.h bcachefs: More work to avoid transaction restarts 2023-10-22 17:08:22 -04:00
util.c bcachefs: Kill direct access to bi_io_vec 2023-10-22 17:08:23 -04:00
util.h bcachefs: kill bio_for_each_contig_segment() 2023-10-22 17:08:23 -04:00
vstructs.h
xattr.c bcachefs: fix __bch2_xattr_bcachefs_get() 2023-10-22 17:08:23 -04:00
xattr.h bcachefs: Make bkey types globally unique 2023-10-22 17:08:12 -04:00