diff options
author | 2024-07-01 18:51:15 +0200 | |
---|---|---|
committer | 2024-07-05 00:53:15 -0600 | |
commit | 73a768d5f95533574bb8ace34eb683a88c40509e (patch) | |
tree | 2847cd11af76c49f3f5f4af78151b99a6bcd4926 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | block: Remove blk_alloc_zone_bitmap() (diff) | |
download | wireguard-linux-73a768d5f95533574bb8ace34eb683a88c40509e.tar.xz wireguard-linux-73a768d5f95533574bb8ace34eb683a88c40509e.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions