diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-07 10:40:52 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-11 07:24:54 -0600 |
| commit | d952f6acb7acc9b94c8c25014b1f468a680c6c00 (patch) | |
| tree | 93559f10b6cde800125ca66a9c85ffa01fc470e3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 74ea55a6ecb3fd69b47b2b8a6f6979a6c79c7ce7 (diff) | |
block: avoid integer overflows in max_integrity_io_size
Sashiko reports that the calculation in max_integrity_io_size could
overflow a u32 when using 16kiB or larger LBA sizes. Fix this by
evaluating the maximum size as a 64-bit integer.
Fixes: ec7f31b2a2d3 ("block: make bio auto-integrity deadlock safe")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <mkp@kernel.org>
Link: https://patch.msgid.link/20260907074111.721054-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
