linux/fs/bcachefs
Kent Overstreet 454377d843 bcachefs: Improve error message for overlapping extents
We now print out the full previous extent we overlapping with, to aid in
debugging and searching through the journal.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:10:05 -04:00
..
acl.c bcachefs: Convert acl.c to allocate_dropping_locks() 2023-10-22 17:10:03 -04:00
acl.h bcachefs: Plumb through subvolume id 2023-10-22 17:09:12 -04:00
alloc_background.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
alloc_background.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
alloc_foreground.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
alloc_foreground.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
alloc_types.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
backpointers.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
backpointers.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
bbpos.h bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if necessary 2023-10-22 17:09:51 -04:00
bcachefs_format.h bcachefs: Add otime, parent to bch_subvolume 2023-10-22 17:10:01 -04:00
bcachefs_ioctl.h bcachefs: Convert to __packed and __aligned 2023-10-22 17:09:45 -04:00
bcachefs.h bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
bkey_buf.h bcachefs: Move bkey bkey_unpack_key() to bkey.h 2023-10-22 17:09:45 -04:00
bkey_cmp.h bcachefs: bch2_bkey_cmp_packed_inlined() 2023-10-22 17:09:45 -04:00
bkey_methods.c bcachefs: BTREE_ID_snapshot_tree 2023-10-22 17:10:01 -04:00
bkey_methods.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
bkey_sort.c bcachefs: Use memcpy_u64s_small() for copying keys 2023-10-22 17:10:01 -04:00
bkey_sort.h bcachefs: Kill bch2_sort_repack_merge() 2023-10-22 17:09:19 -04:00
bkey.c bcachefs: Use memcpy_u64s_small() for copying keys 2023-10-22 17:10:01 -04:00
bkey.h bcachefs: Converting to typed bkeys is now allowed for err, null ptrs 2023-10-22 17:10:00 -04:00
bset.c bcachefs: Use memcpy_u64s_small() for copying keys 2023-10-22 17:10:01 -04:00
bset.h bcachefs: bch2_btree_node_to_text() const correctness 2023-10-22 17:09:56 -04:00
btree_cache.c bcachefs: bch2_trans_unlock_noassert() 2023-10-22 17:10:04 -04:00
btree_cache.h bcachefs: bch2_btree_node_to_text() const correctness 2023-10-22 17:09:56 -04:00
btree_gc.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
btree_gc.h bcachefs: Fix a null ptr deref 2023-10-22 17:09:31 -04:00
btree_io.c bcachefs: GFP_NOIO -> GFP_NOFS 2023-10-22 17:10:03 -04:00
btree_io.h bcachefs: Plumb saw_error through to btree_err() 2023-10-22 17:09:48 -04:00
btree_iter.c bcachefs: seqmutex; fix a lockdep splat 2023-10-22 17:10:04 -04:00
btree_iter.h bcachefs: Fix more lockdep splats in debug.c 2023-10-22 17:10:04 -04:00
btree_key_cache.c bcachefs: allocate_dropping_locks() 2023-10-22 17:10:03 -04:00
btree_key_cache.h bcachefs: don't bump key cache journal seq on nojournal commits 2023-10-22 17:09:56 -04:00
btree_locking.c bcachefs: Don't call lock_graph_descend() with wait lock held 2023-10-22 17:10:04 -04:00
btree_locking.h bcachefs: bch2_trans_unlock_noassert() 2023-10-22 17:10:04 -04:00
btree_types.h bcachefs: Btree iterator, update flags no longer conflict 2023-10-22 17:10:00 -04:00
btree_update_interior.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
btree_update_interior.h bcachefs: bch2_journal_entries_postprocess() 2023-10-22 17:09:54 -04:00
btree_update_leaf.c bcachefs: Fix check_pos_snapshot_overwritten() 2023-10-22 17:10:04 -04:00
btree_update.h bcachefs: Fix corruption with writeable snapshots 2023-10-22 17:10:03 -04:00
btree_write_buffer_types.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_write_buffer.c bcachefs: Write buffer flush needs BTREE_INSERT_NOCHECK_RW 2023-10-22 17:10:04 -04:00
btree_write_buffer.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
buckets_types.h bcachefs: Fragmentation LRU 2023-10-22 17:09:53 -04:00
buckets_waiting_for_journal_types.h bcachefs: New data structure for buckets waiting on journal commit 2023-10-22 17:09:22 -04:00
buckets_waiting_for_journal.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
buckets_waiting_for_journal.h bcachefs: New data structure for buckets waiting on journal commit 2023-10-22 17:09:22 -04:00
buckets.c bcachefs: bch2_trans_mark_pointer() refactoring 2023-10-22 17:10:04 -04:00
buckets.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
chardev.c bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
chardev.h
checksum.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
checksum.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
clock_types.h bcachefs: Persist 64 bit io clocks 2023-10-22 17:08:52 -04:00
clock.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
clock.h bcachefs: Convert various code to printbuf 2023-10-22 17:08:43 -04:00
compress.c bcachefs: GFP_NOIO -> GFP_NOFS 2023-10-22 17:10:03 -04:00
compress.h
counters.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
counters.h bcachefs: Add persistent counters 2023-10-22 17:09:32 -04:00
darray.h bcachefs: bch2_buffered_write large folio conversion 2023-10-22 17:09:59 -04:00
data_update.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
data_update.h bcachefs: Fix deadlock on nocow locks in data move path 2023-10-22 17:09:52 -04:00
debug.c bcachefs: Fix more lockdep splats in debug.c 2023-10-22 17:10:04 -04:00
debug.h bcachefs: bch2_btree_node_ondisk_to_text() 2023-10-22 17:09:56 -04:00
dirent.c bcachefs: Fix lockdep splat in bch2_readdir 2023-10-22 17:10:04 -04:00
dirent.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
disk_groups.c bcachefs: push rcu lock down into bch2_target_to_mask() 2023-10-22 17:10:03 -04:00
disk_groups.h bcachefs: don't spin in rebalance when background target is not usable 2023-10-22 17:10:03 -04:00
ec_types.h bcachefs: Simplify ec stripes heap 2023-10-22 17:09:54 -04:00
ec.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
ec.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
errcode.c bcachefs: More style fixes 2023-10-22 17:09:45 -04:00
errcode.h bcachefs: BCH_ERR_fsck -> EINVAL 2023-10-22 17:10:04 -04:00
error.c bcachefs: Fix bch2_fsck_ask_yn() 2023-10-22 17:10:03 -04:00
error.h bcachefs: Allow answering y or n to all fsck errors of given type 2023-10-22 17:10:00 -04:00
extent_update.c bcachefs: Use for_each_btree_key_upto() more consistently 2023-10-22 17:09:50 -04:00
extent_update.h bcachefs: Reduce iter->trans usage 2023-10-22 17:09:10 -04:00
extents_types.h bcachefs: Limit pointers to being in only one stripe 2023-10-22 17:08:29 -04:00
extents.c bcachefs: bch2_extent_ptr_desired_durability() 2023-10-22 17:10:04 -04:00
extents.h bcachefs: bch2_extent_ptr_desired_durability() 2023-10-22 17:10:04 -04:00
eytzinger.h bcachefs: Make eytzinger size parameter more conventional 2023-10-22 17:09:21 -04:00
fifo.h bcachefs: More style fixes 2023-10-22 17:09:45 -04:00
fs-common.c bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
fs-common.h bcachefs: Add BCH_SUBVOLUME_UNLINKED 2023-10-22 17:09:15 -04:00
fs-io.c bcachefs: Check for ERR_PTR() from filemap_lock_folio() 2023-10-22 17:10:04 -04:00
fs-io.h bcachefs: Delete bch_writepage 2023-10-22 17:09:32 -04:00
fs-ioctl.c bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
fs-ioctl.h bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fs.c bcachefs: fiemap: Fix a lockdep splat 2023-10-22 17:10:04 -04:00
fs.h bcachefs: Fix bch2_evict_subvolume_inodes() 2023-10-22 17:09:57 -04:00
fsck.c bcachefs: Improve error message for overlapping extents 2023-10-22 17:10:05 -04:00
fsck.h bcachefs: Drop bch2_fsck_inode_nlink() 2023-10-22 17:08:59 -04:00
inode.c bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
inode.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
io_types.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
io.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
io.h bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
journal_io.c bcachefs: GFP_NOIO -> GFP_NOFS 2023-10-22 17:10:03 -04:00
journal_io.h bcachefs: Drop some anonymous structs, unions 2023-10-22 17:09:55 -04:00
journal_reclaim.c bcachefs: GFP_NOIO -> GFP_NOFS 2023-10-22 17:10:03 -04:00
journal_reclaim.h bcachefs: Make sure to initialize j->last_flushed 2023-10-22 17:09:02 -04:00
journal_sb.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
journal_sb.h bcachefs: Journal resize fixes 2023-10-22 17:09:56 -04:00
journal_seq_blacklist.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
journal_seq_blacklist.h Revert "bcachefs: Delete some obsolete journal_seq_blacklist code" 2023-10-22 17:09:21 -04:00
journal_types.h bcachefs: When shutting down, flush btree node writes last 2023-10-22 17:09:56 -04:00
journal.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
journal.h bcachefs: Convert EAGAIN errors to private error codes 2023-10-22 17:09:49 -04:00
Kconfig bcachefs: time stats now uses the mean_and_variance module. 2023-10-22 17:09:43 -04:00
keylist_types.h
keylist.c bcachefs: GFP_NOIO -> GFP_NOFS 2023-10-22 17:10:03 -04:00
keylist.h bcachefs: Kill bch2_keylist_add_in_order() 2023-10-22 17:09:54 -04:00
lru.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
lru.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
Makefile bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
mean_and_variance_test.c mean and variance: More tests 2023-10-22 17:10:02 -04:00
mean_and_variance.c bcachefs: Mean and variance 2023-10-22 17:09:43 -04:00
mean_and_variance.h mean and variance: Add a missing include 2023-10-22 17:10:02 -04:00
migrate.c bcachefs: bch2_bkey_make_mut() now calls bch2_trans_update() 2023-10-22 17:10:01 -04:00
migrate.h
move_types.h bcachefs: Rhashtable based buckets_in_flight for copygc 2023-10-22 17:09:58 -04:00
move.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
move.h bcachefs: Kill bch2_verify_bucket_evacuated() 2023-10-22 17:10:00 -04:00
movinggc.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
movinggc.h bcachefs: bch2_copygc_wait_to_text() 2023-10-22 17:09:55 -04:00
nocow_locking_types.h bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
nocow_locking.c bcachefs: Add an assert to bch2_bucket_nocow_unlock() 2023-10-22 17:09:52 -04:00
nocow_locking.h bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
opts.c bcachefs: bch2_inode_opts_get() 2023-10-22 17:09:49 -04:00
opts.h bcachefs: Verbose on by default when CONFIG_BCACHEFS_DEBUG=y 2023-10-22 17:09:56 -04:00
printbuf.c bcachefs: Printbuf rework 2023-10-22 17:09:33 -04:00
printbuf.h bcachefs: Improve dev_alloc_debug_to_text() 2023-10-22 17:09:55 -04:00
quota_types.h bcachefs: bch2_fs_quota_transfer 2023-10-22 17:08:13 -04:00
quota.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
quota.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
rebalance_types.h bcachefs: add progress stats to sysfs 2023-10-22 17:09:10 -04:00
rebalance.c bcachefs: don't spin in rebalance when background target is not usable 2023-10-22 17:10:03 -04:00
rebalance.h bcachefs: Convert various code to printbuf 2023-10-22 17:08:43 -04:00
recovery.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
recovery.h bcachefs: Fix btree_and_journal_iter 2023-10-22 17:09:33 -04:00
reflink.c bcachefs: Don't reuse reflink btree keyspace 2023-10-22 17:10:02 -04:00
reflink.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00
replicas_types.h bcachefs: Fix bch2_trans_reset_updates() 2023-10-22 17:09:50 -04:00
replicas.c bcachefs: Delete some dead code in bch2_replicas_gc_end() 2023-10-22 17:10:01 -04:00
replicas.h bcachefs: Fix bch2_trans_reset_updates() 2023-10-22 17:09:50 -04:00
seqmutex.h bcachefs: seqmutex; fix a lockdep splat 2023-10-22 17:10:04 -04:00
siphash.c bcachefs: Assorted checkpatch fixes 2023-10-22 17:09:44 -04:00
siphash.h
six.c six locks: Disable percpu read lock mode in userspace 2023-10-22 17:10:02 -04:00
six.h six locks: Split out seq, use atomic_t instead of atomic64_t 2023-10-22 17:10:02 -04:00
str_hash.h bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
subvolume_types.h bcachefs: BTREE_ID_snapshot_tree 2023-10-22 17:10:01 -04:00
subvolume.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
subvolume.h bcachefs: Fix quotas + snapshots 2023-10-22 17:10:01 -04:00
super_types.h bcachefs: Freespace, need_discard btrees 2023-10-22 17:09:29 -04:00
super-io.c bcachefs: Private error codes: ENOMEM 2023-10-22 17:09:57 -04:00
super-io.h bcachefs: Freespace, need_discard btrees 2023-10-22 17:09:29 -04:00
super.c bcachefs: New assertions when marking filesystem clean 2023-10-22 17:10:04 -04:00
super.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
sysfs.c bcachefs: Rename enum alloc_reserve -> bch_watermark 2023-10-22 17:10:04 -04:00
sysfs.h bcachefs: Add persistent counters 2023-10-22 17:09:32 -04:00
tests.c bcachefs: New error message helpers 2023-10-22 17:10:04 -04:00
tests.h bcachefs: Add error handling to unit & perf tests 2023-10-22 17:08:48 -04:00
trace.c bcachefs: Improve trans_restart_split_race tracepoint 2023-10-22 17:09:58 -04:00
trace.h bcachefs: More drop_locks_do() conversions 2023-10-22 17:10:03 -04:00
two_state_shared_lock.c bcachefs: Inline bch2_two_state_(trylock|unlock) 2023-10-22 17:09:51 -04:00
two_state_shared_lock.h bcachefs: Inline bch2_two_state_(trylock|unlock) 2023-10-22 17:09:51 -04:00
util.c mean and variance: More tests 2023-10-22 17:10:02 -04:00
util.h bcachefs: Fix a userspace build error 2023-10-22 17:10:00 -04:00
varint.c bcachefs: Add a valgrind memcheck hint 2023-10-22 17:09:13 -04:00
varint.h bcachefs: Add safe versions of varint encode/decode 2023-10-22 17:09:08 -04:00
vstructs.h bcachefs: Fix 32 bit build 2023-10-22 17:09:25 -04:00
xattr.c bcachefs: Convert -ENOENT to private error codes 2023-10-22 17:10:03 -04:00
xattr.h bcachefs: bkey_ops.min_val_size 2023-10-22 17:10:00 -04:00