summaryrefslogtreecommitdiffstats
path: root/mm/hwpoison-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-05 19:21:11 +0200
committerJens Axboe <axboe@fb.com>2017-04-08 19:25:38 +0200
commit34045129b128fb3c0237b6af7c5a84b1ca9c0bf5 (patch)
treea85625b4c9d3f7a4eefd151e0ec14c7e17658dd9 /mm/hwpoison-inject.c
parentblock: add a new BLKDEV_ZERO_NOFALLBACK flag (diff)
downloadlinux-34045129b128fb3c0237b6af7c5a84b1ca9c0bf5.tar.xz
linux-34045129b128fb3c0237b6af7c5a84b1ca9c0bf5.zip
block_dev: use blkdev_issue_zerout for hole punches
This gets us support for non-discard efficient write of zeroes (e.g. NVMe) and prepares for removing the discard_zeroes_data flag. Also remove a pointless discard support check, which is done in blkdev_issue_discard already. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions