diff options
author | Christoph Hellwig <hch@lst.de> | 2024-07-01 18:51:15 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-05 00:53:15 -0600 |
commit | 73a768d5f95533574bb8ace34eb683a88c40509e (patch) | |
tree | 2847cd11af76c49f3f5f4af78151b99a6bcd4926 /tools/perf/scripts/python/task-analyzer.py | |
parent | 2f20872ed43185780a5f30581472599342c86d4a (diff) |
block: factor out a blk_write_zeroes_limit helper
Contrary to the comment in __blkdev_issue_write_zeroes, nothing here
checks for a potential bi_size overflow. Add a helper mirroring
the secure erase code for the check.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240701165219.1571322-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions