diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-26 22:52:06 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:17 -0500 |
| commit | b6269cd0ec0a55f256d6f79a6e70dd7177050150 (patch) | |
| tree | 9e8d9c09dff13c957b1f23a8c4d90c69e029d273 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 7d1918b0d86dcf049fac0d548509459e0e0300da (diff) | |
bcachefs: Delete dead code from bch2_discard_one_bucket()
alloc key validation ensures that if a bucket is in need_discard state
the sector counts are all zero - we don't have to check for that.
The NEED_INC_GEN check appears to be dead code, as well: we only see
buckets in the need_discard btree, and it's an error if they aren't in
the need_discard state.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
