diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2012-09-18 18:19:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-20 14:31:49 +0200 |
commit | 579e8f3c7b2ecf7db91398d942d76457a3ddba21 (patch) | |
tree | f41d7d469cb427550656f1d1d2c3b5215a9ea0aa /Documentation/ia64 | |
parent | block: Implement support for WRITE SAME (diff) | |
download | linux-579e8f3c7b2ecf7db91398d942d76457a3ddba21.tar.xz linux-579e8f3c7b2ecf7db91398d942d76457a3ddba21.zip |
block: Make blkdev_issue_zeroout use WRITE SAME
If the device supports WRITE SAME, use that to optimize zeroing of
blocks. If the device does not support WRITE SAME or if the operation
fails, fall back to writing zeroes the old-fashioned way.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/ia64')
0 files changed, 0 insertions, 0 deletions