diff options
| author | Kent Overstreet <[email protected]> | 2025-07-02 17:28:55 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-07-04 19:45:22 +0000 |
| commit | 63d6e9311999a3dd125ad3e0560a769e047fd7b1 (patch) | |
| tree | 2e8e5dd5afe4bd0a3560df145dd8272ed3b886cb /rust/helpers/workqueue.c | |
| parent | bcachefs: opts.casefold_disabled (diff) | |
| download | kernel-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/workqueue.c')
0 files changed, 0 insertions, 0 deletions
