aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-07-02 17:28:55 +0000
committerKent Overstreet <[email protected]>2025-07-04 19:45:22 +0000
commit63d6e9311999a3dd125ad3e0560a769e047fd7b1 (patch)
tree2e8e5dd5afe4bd0a3560df145dd8272ed3b886cb /rust/helpers/vmalloc.c
parentbcachefs: opts.casefold_disabled (diff)
downloadkernel-63d6e9311999a3dd125ad3e0560a769e047fd7b1.tar.gz
kernel-63d6e9311999a3dd125ad3e0560a769e047fd7b1.zip
bcachefs: bch2_fpunch_snapshot()
Add a new version of fpunch for operating on a snapshot ID, not a subvolume - and use it for "extent past end of inode" repair. Previously, repair would try to delete everything at once, but deleting too many extents at once can overflow the btree_trans bump allocator, as well as causing other problems - the new helper properly uses bch2_extent_trim_atomic(). Reported-and-tested-by: Edoardo Codeglia <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions