linux/fs/bcachefs
Kent Overstreet d8585a79be bcachefs: bch2_dev_have_ref()
bch2_dev_bkey_exists() is going away; bch2_dev_have_ref() documents that
we're looking up a device without checking if it's present because we
have a reference to it already.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-05-08 17:29:24 -04:00
..
acl.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
acl.h
alloc_background.c bcachefs: bch2_dev_iterate() 2024-05-08 17:29:23 -04:00
alloc_background.h bcachefs: bch2_dev_bucket_exists() uses bch2_dev_rcu() 2024-05-08 17:29:23 -04:00
alloc_background_format.h
alloc_foreground.c bcachefs: ob_dev() 2024-05-08 17:29:23 -04:00
alloc_foreground.h bcachefs: ob_dev() 2024-05-08 17:29:23 -04:00
alloc_types.h
backpointers.c bcachefs: Kill bch2_dev_bkey_exists() in backpointer code 2024-05-08 17:29:23 -04:00
backpointers.h bcachefs: Kill bch2_dev_bkey_exists() in backpointer code 2024-05-08 17:29:23 -04:00
bbpos.h
bbpos_types.h
bcachefs.h bcachefs: ptr_stale() -> dev_ptr_stale() 2024-05-08 17:29:23 -04:00
bcachefs_format.h bcachefs: bch_member.last_journal_bucket 2024-05-08 17:29:21 -04:00
bcachefs_ioctl.h
bkey.c bcachefs: bch2_bkey_format_field_overflows() 2024-05-08 14:57:19 -04:00
bkey.h bcachefs: bch2_bkey_format_field_overflows() 2024-05-08 14:57:19 -04:00
bkey_buf.h
bkey_cmp.h
bkey_methods.c bcachefs: Guard against unknown k.k->type in __bkey_invalid() 2024-05-06 10:58:17 -04:00
bkey_methods.h bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
bkey_sort.c bcachefs: Fix needs_whiteout BUG_ON() in bkey_sort() 2024-05-08 14:56:09 -04:00
bkey_sort.h bcachefs: Fix needs_whiteout BUG_ON() in bkey_sort() 2024-05-08 14:56:09 -04:00
bkey_types.h
bset.c
bset.h
btree_cache.c bcachefs: Run bch2_check_fix_ptrs() via triggers 2024-05-08 17:29:20 -04:00
btree_cache.h bcachefs: Run bch2_check_fix_ptrs() via triggers 2024-05-08 17:29:20 -04:00
btree_gc.c bcachefs: kill bch2_dev_bkey_exists() in btree_gc.c 2024-05-08 17:29:23 -04:00
btree_gc.h bcachefs: Kill gc_init_recurse() 2024-05-08 17:29:21 -04:00
btree_io.c bcachefs: bch2_bkey_drop_ptrs() declares loop iter 2024-05-08 17:29:22 -04:00
btree_io.h
btree_iter.c bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
btree_iter.h bcachefs: uninline set_btree_iter_dontneed() 2024-05-08 17:29:21 -04:00
btree_journal_iter.c bcachefs: bch2_journal_keys_dump() 2024-05-08 17:29:17 -04:00
btree_journal_iter.h bcachefs: bch2_journal_keys_dump() 2024-05-08 17:29:17 -04:00
btree_key_cache.c bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
btree_key_cache.h
btree_key_cache_types.h bcachefs: Btree key cache instrumentation 2024-05-08 17:29:20 -04:00
btree_locking.c bcachefs: bch2_trans_verify_not_unlocked() 2024-05-08 17:29:19 -04:00
btree_locking.h bcachefs: bch2_btree_path_upgrade() checks nodes_locked, not uptodate 2024-05-08 17:29:19 -04:00
btree_node_scan.c bcachefs: btree node scan now fills in sectors_written 2024-04-28 21:34:29 -04:00
btree_node_scan.h
btree_node_scan_types.h bcachefs: btree node scan now fills in sectors_written 2024-04-28 21:34:29 -04:00
btree_trans_commit.c bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
btree_types.h bcachefs: Run bch2_check_fix_ptrs() via triggers 2024-05-08 17:29:20 -04:00
btree_update.c bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
btree_update.h bcachefs: bch2_trans_commit_flags_to_text() 2024-05-08 17:29:19 -04:00
btree_update_interior.c bcachefs: bch2_bkey_drop_ptrs() declares loop iter 2024-05-08 17:29:22 -04:00
btree_update_interior.h bcachefs: bch2_btree_root_alloc_fake_trans() 2024-05-08 17:29:19 -04:00
btree_write_buffer.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
btree_write_buffer.h
btree_write_buffer_types.h
buckets.c bcachefs: Kill bch2_dev_bkey_exists() in backpointer code 2024-05-08 17:29:23 -04:00
buckets.h bcachefs: ptr_stale() -> dev_ptr_stale() 2024-05-08 17:29:23 -04:00
buckets_types.h
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets_waiting_for_journal_types.h
chardev.c bcachefs: Convert to bch2_dev_tryget_noerror() 2024-05-08 17:29:22 -04:00
chardev.h
checksum.c bcachefs: prt_printf() now respects \r\n\t 2024-05-08 17:29:17 -04:00
checksum.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
clock.c
clock.h
clock_types.h
compress.c
compress.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
darray.c
darray.h
data_update.c bcachefs: bch2_dev_have_ref() 2024-05-08 17:29:24 -04:00
data_update.h
debug.c bcachefs: member helper cleanups 2024-05-08 17:29:19 -04:00
debug.h
dirent.c bcachefs: bch2_dir_emit() - drop_locks_do() conversion 2024-05-08 17:29:19 -04:00
dirent.h bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
dirent_format.h
disk_groups.c bcachefs: New helpers for device refcounts 2024-05-08 17:29:22 -04:00
disk_groups.h
disk_groups_types.h
ec.c bcachefs: ptr_stale() -> dev_ptr_stale() 2024-05-08 17:29:23 -04:00
ec.h bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
ec_format.h
ec_types.h
errcode.c
errcode.h bcachefs: Add a better limit for maximum number of buckets 2024-05-06 10:58:17 -04:00
error.c bcachefs: allow for custom action in fsck error messages 2024-05-08 17:29:18 -04:00
error.h
extent_update.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
extent_update.h
extents.c bcachefs: kill bch2_dev_bkey_exists() in bkey_pick_read_device() 2024-05-08 17:29:23 -04:00
extents.h bcachefs: bch2_bkey_drop_ptrs() declares loop iter 2024-05-08 17:29:22 -04:00
extents_format.h
extents_types.h
eytzinger.c bcachefs: Optimize eytzinger0_sort() with bottom-up heapsort 2024-05-08 17:29:18 -04:00
eytzinger.h bcachefs: fix eytzinger0_find_gt() 2024-04-08 22:56:37 -04:00
fifo.h
fs-common.c bcachefs: Fix error path of bch2_link_trans() 2024-05-08 17:29:21 -04:00
fs-common.h
fs-io-buffered.c bcachefs: Remove calls to folio_set_error 2024-05-08 17:29:20 -04:00
fs-io-buffered.h
fs-io-direct.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
fs-io-direct.h
fs-io-pagecache.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
fs-io-pagecache.h
fs-io.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
fs-io.h
fs-ioctl.c bcachefs: Correct the FS_IOC_GETFLAGS to FS_IOC32_GETFLAGS in bch2_compat_fs_ioctl() 2024-05-08 17:29:21 -04:00
fs-ioctl.h
fs.c bcachefs: Change destroy_inode to free_inode 2024-05-08 17:29:21 -04:00
fs.h
fsck.c bcachefs: check for inodes that should have backpointers in fsck 2024-05-08 17:29:21 -04:00
fsck.h
inode.c bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
inode.h bcachefs: check for inodes that should have backpointers in fsck 2024-05-08 17:29:21 -04:00
inode_format.h
io_misc.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
io_misc.h
io_read.c bcachefs: pass bch_dev to read_from_stale_dirty_pointer() 2024-05-08 17:29:23 -04:00
io_read.h
io_write.c bcachefs: bch2_dev_have_ref() 2024-05-08 17:29:24 -04:00
io_write.h
io_write_types.h
journal.c bcachefs: bch2_print_allocator_stuck() 2024-05-08 17:29:22 -04:00
journal.h bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
journal_io.c bcachefs: bch2_dev_have_ref() 2024-05-08 17:29:24 -04:00
journal_io.h bcachefs: bch_member.last_journal_bucket 2024-05-08 17:29:21 -04:00
journal_reclaim.c bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
journal_reclaim.h
journal_sb.c
journal_sb.h
journal_seq_blacklist.c bcachefs: journal seq blacklist gc no longer has to walk btree 2024-05-08 17:29:20 -04:00
journal_seq_blacklist.h bcachefs: journal seq blacklist gc no longer has to walk btree 2024-05-08 17:29:20 -04:00
journal_types.h bcachefs: x-macroize journal flags enums 2024-05-08 17:29:22 -04:00
Kconfig
keylist.c
keylist.h
keylist_types.h
logged_ops.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
logged_ops.h
logged_ops_format.h
lru.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
lru.h
Makefile
mean_and_variance.c
mean_and_variance.h
mean_and_variance_test.c
migrate.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
migrate.h
move.c bcachefs: extent_ptr_durability() -> bch2_dev_rcu() 2024-05-08 17:29:23 -04:00
move.h
move_types.h
movinggc.c bcachefs: bch2_trans_unlock() must always be followed by relock() or begin() 2024-05-08 17:29:19 -04:00
movinggc.h
nocow_locking.c
nocow_locking.h
nocow_locking_types.h
opts.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
opts.h bcachefs: Kill opts.buckets_nouse 2024-05-08 17:29:22 -04:00
printbuf.c bcachefs: printbufs: prt_printf() now handles \t\r\n 2024-05-08 17:29:17 -04:00
printbuf.h bcachefs: printbuf improvements 2024-05-08 17:29:17 -04:00
quota.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
quota.h
quota_format.h
quota_types.h
rebalance.c bcachefs: bch2_trans_unlock() must always be followed by relock() or begin() 2024-05-08 17:29:19 -04:00
rebalance.h
rebalance_types.h
recovery.c bcachefs: journal_replay_entry_early() checks for nonexistent device 2024-05-08 17:29:22 -04:00
recovery.h
recovery_passes.c bcachefs: Sync journal when we complete a recovery pass 2024-05-08 17:29:20 -04:00
recovery_passes.h
recovery_passes_types.h
reflink.c bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
reflink.h bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
reflink_format.h
replicas.c bcachefs: bch2_have_enough_devs() checks for nonexistent device 2024-05-08 17:29:22 -04:00
replicas.h
replicas_types.h
sb-clean.c bcachefs: bch_member.last_journal_bucket 2024-05-08 17:29:21 -04:00
sb-clean.h
sb-counters.c bcachefs: prt_printf() now respects \r\n\t 2024-05-08 17:29:17 -04:00
sb-counters.h
sb-counters_format.h
sb-downgrade.c bcachefs: prt_printf() now respects \r\n\t 2024-05-08 17:29:17 -04:00
sb-downgrade.h
sb-errors.c
sb-errors.h
sb-errors_types.h bcachefs: Check for writing btree_ptr_v2.sectors_written == 0 2024-05-08 17:29:20 -04:00
sb-members.c bcachefs: bch2_check_alloc_key() -> bch2_dev_tryget_noerror() 2024-05-08 17:29:22 -04:00
sb-members.h bcachefs: ob_dev() 2024-05-08 17:29:23 -04:00
sb-members_types.h bcachefs: bucket_valid() 2024-05-08 17:29:19 -04:00
seqmutex.h
siphash.c
siphash.h
six.c
six.h
snapshot.c bcachefs: eliminate the uninitialized compilation warning in bch2_reconstruct_snapshots 2024-05-08 17:29:21 -04:00
snapshot.h bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
snapshot_format.h
str_hash.h bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
subvolume.c bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
subvolume.h bcachefs: Fix type of flags parameter for some ->trigger() implementations 2024-05-08 17:29:21 -04:00
subvolume_format.h
subvolume_types.h
super-io.c bcachefs: member helper cleanups 2024-05-08 17:29:19 -04:00
super-io.h
super.c bcachefs: move replica_set from bch_dev to bch_fs 2024-05-08 17:29:23 -04:00
super.h
super_types.h bcachefs: bucket_valid() 2024-05-08 17:29:19 -04:00
sysfs.c bcachefs: bch2_print_allocator_stuck() 2024-05-08 17:29:22 -04:00
sysfs.h
tests.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
tests.h
thread_with_file.c bcachefs: Fix null ptr deref in twf from BCH_IOCTL_FSCK_OFFLINE 2024-04-16 19:11:49 -04:00
thread_with_file.h bcachefs: Fix null ptr deref in twf from BCH_IOCTL_FSCK_OFFLINE 2024-04-16 19:11:49 -04:00
thread_with_file_types.h
time_stats.c
time_stats.h
trace.c
trace.h
two_state_shared_lock.c
two_state_shared_lock.h
util.c bcachefs: prt_printf() now respects \r\n\t 2024-05-08 17:29:17 -04:00
util.h
varint.c
varint.h
vstructs.h
xattr.c bcachefs: iter/update/trigger/str_hash flag cleanup 2024-05-08 17:29:18 -04:00
xattr.h
xattr_format.h