On Fri, Apr 26, 2019 at 07:57:11AM -0700, Christoph Hellwig wrote: > On Fri, Apr 26, 2019 at 10:39:37AM +0800, Ming Lei wrote: > > When T10 verification fails, the error code of BLK_STS_PROTECTION > > may not be propagated to user space, see mpage_end_io(). > > Well, we should probably fix that instead of papering over it.. That might be a big change, and not sure when they can be fixed completely. This patch at least can expose the issue to user first. Anyway, CC filesystem guys. Thanks, Ming