aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-12-12 07:32:32 +0000
committerKent Overstreet <[email protected]>2024-12-21 06:36:23 +0000
commitf859bc945ebb1ed8e915cfd31bbe14ce3bb242e5 (patch)
treebd86915704c78eb512ecafcaba668a205ec9da0c /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Fix key cache + BTREE_ITER_all_snapshots (diff)
downloadkernel-f859bc945ebb1ed8e915cfd31bbe14ce3bb242e5.tar.gz
kernel-f859bc945ebb1ed8e915cfd31bbe14ce3bb242e5.zip
bcachefs: alloc_data_type_set() happens in alloc trigger
Originally, we ran insert triggers before overwrite so that if an extent was being moved (by fallocate insert/collapse range), the bucket sector count wouldn't hit 0 partway through, and so we don't trigger state changes caused by that too soon. But this is better solved by just moving the data type change to the alloc trigger itself, where it's already called. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions