Re: [PATCH] block: don't try Write Same from __blkdev_issue_zeroout

2017-02-06 Thread Jens Axboe
On 02/05/2017 10:10 AM, Christoph Hellwig wrote: > Write Same can return an error asynchronously if it turns out the > underlying SCSI device does not support Write Same, which makes a > proper fallback to other methods in __blkdev_issue_zeroout impossible. > Thus only issue a Write Same from

Re: [PATCH] block: don't try Write Same from __blkdev_issue_zeroout

2017-02-05 Thread Junichi Nomura
On 02/06/17 02:10, Christoph Hellwig wrote: > Write Same can return an error asynchronously if it turns out the > underlying SCSI device does not support Write Same, which makes a > proper fallback to other methods in __blkdev_issue_zeroout impossible. > Thus only issue a Write Same from

[PATCH] block: don't try Write Same from __blkdev_issue_zeroout

2017-02-05 Thread Christoph Hellwig
Write Same can return an error asynchronously if it turns out the underlying SCSI device does not support Write Same, which makes a proper fallback to other methods in __blkdev_issue_zeroout impossible. Thus only issue a Write Same from blkdev_issue_zeroout an don't try it at all from