On Tue, May 03, 2016 at 08:38:03PM -0400, Mike Snitzer wrote: > Commit 38f25255330 ("block: add __blkdev_issue_discard") incorrectly > disallowed the return of -EOPNOTSUPP if the device didn't support > discard (or secure discard). I assume dm relied in this? The different handling of early vs late -EOPNOTSUPP is the old code is rather odd, so when restoring it I'd rather have a comment explaining why the different handling is needed. -- 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