[dm-devel] [PATCH v2 1/5] block: reinstate early return of -EOPNOTSUPP from blkdev_issue_discard

Christoph Hellwig hch at lst.de
Fri May 6 16:04:07 UTC 2016


I don't really agree with the rationale, but I'm fine with reverting
to it this late in the cycle, so:

Acked-by: Christoph Hellwig <hch at lst.de>

But looking at your slightly convoluted handling of the errors in
dm-think, what do you think about splitting out these early checks
into a separate helper, at which point __blkdev_issue_discard
doesn't need a return value any more?




More information about the dm-devel mailing list