From: Martin K. Petersen Date: Tue, 18 Sep 2012 16:19:28 +0000 (-0400) Subject: block: Make blkdev_issue_zeroout use WRITE SAME X-Git-Tag: v3.7-rc1~54^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=579e8f3c7b2ecf7db91398d942d76457a3ddba21;p=pandora-kernel.git 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 Acked-by: Mike Snitzer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed