diff options
author | Christoph Hellwig <hch@lst.de> | 2024-07-01 18:51:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-05 08:53:15 +0200 |
commit | 99800ced26b9d87a918aa9824881bdb90a3c1b03 (patch) | |
tree | 9b1c7d044902fa60706bb8f4a491d6ab9710201b /COPYING | |
parent | block: move read-only and supported checks into (__)blkdev_issue_zeroout (diff) | |
download | linux-99800ced26b9d87a918aa9824881bdb90a3c1b03.tar.xz linux-99800ced26b9d87a918aa9824881bdb90a3c1b03.zip |
block: refacto blkdev_issue_zeroout
Split out two well-defined helpers for hardware supported Write Zeroes
and manually writing zeroes using the Write command.
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-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions