aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-03-23 11:08:04 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:59 -0400
commita1774a05641cebd4c42c4b5e14ca20319b32711d (patch)
tree9b263b10975253ecbd1cd21f771b7acebd0079a1 /tools/perf/scripts/python
parent959f7368d60c89513ce44184bdfcb7304fea17ee (diff)
bcachefs: bch_folio_sector_state improvements
- X-macro-ize the bch_folio_sector_state enum: this means we can easily generate strings, which is helpful for debugging. - Add helpers for state transitions: folio_sector_dirty(), folio_sector_undirty(), folio_sector_reserve() - Add folio_sector_set(), a single helper for changing folio sector state just so that we have a single place to instrument when we're debugging. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions