diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-15 08:48:36 +0200 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2023-07-27 00:13:29 -0700 |
| commit | 0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80 (patch) | |
| tree | 486eef8c48aebc6961894144acce3fa9ab286346 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 844dc6691ad5f53a624f4b07bf84037abbb8fce2 (diff) | |
md-bitmap: cleanup read_sb_page
Convert read_sb_page to the normal kernel coding style, calculate the
target sector only once, and add a local iosize variable to make the call
to sync_page_io more readable.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions