On Fri, Jan 13 2017, Christoph Hellwig wrote: > Discard can return -EIO asynchronously if the alignment for the request > isn't suitable for the driver, which makes a proper fallback to other > methods in __blkdev_issue_zeroout impossible. Thus only issue a sync > discard from blkdev_issue_zeroout an don't try discard at all from > __blkdev_issue_zeroout as a non-invasive workaround. > > One more reason why abusing discard for zeroing must die.. Added for 4.10, thanks. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html