diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-11-09 21:06:07 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:23 -0800 |
| commit | b0619401b8cdafcf32ad352a8e9a225ab0b4b10d (patch) | |
| tree | fb8991557e95e291a2a24b2a2c40901e27c874cc /tools/perf/scripts/python/flamegraph.py | |
| parent | 4b04646caed5449ca97b909bbadca0a7a2762159 (diff) | |
buffer: handle large folios in __block_write_begin_int()
When __block_write_begin_int() was converted to support folios, we did not
expect large folios to be passed to it. With the current work to support
large block size storage devices, this will no longer be true so change
the checks on 'from' and 'to' to be related to the size of the folio
instead of PAGE_SIZE. Also remove an assumption that the block size is
smaller than PAGE_SIZE.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reported-by: Ryusuke Konishi <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Cc: Pankaj Raghav <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions