diff options
| author | Brian Foster <[email protected]> | 2023-04-03 08:17:26 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:10:00 -0400 |
| commit | bf98ee10d45af8e97c0802e39cc77ee607072633 (patch) | |
| tree | ff208e015921eecbaced1c6201a47cbfb7d2f901 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | e3dc75eb551599c356a9a3f8c00ae6396164457d (diff) | |
bcachefs: folio pos to bch_folio_sector index helper
Create a small helper to translate from file offset to the
associated bch_folio_sector index in the underlying bch_folio. The
helper assumes the file offset is covered by the passed folio.
Signed-off-by: Brian Foster <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions