block: ioctl to zero block ranges
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Sep 2012 16:19:29 +0000 (12:19 -0400)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Sep 2012 12:31:53 +0000 (14:31 +0200)
commit66ba32dc167202c3cf8c86806581a9393ec7f488
tree61bc596fd84f48a47a28a593435b437371607d6f
parent579e8f3c7b2ecf7db91398d942d76457a3ddba21
block: ioctl to zero block ranges

Introduce a BLKZEROOUT ioctl which can be used to clear block ranges by
way of blkdev_issue_zeroout().

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>
block/ioctl.c
include/linux/fs.h