On Thu, Feb 13, 2020 at 01:25:03PM -0600, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> > > In case of a block device error, iomap code returns 0 as opposed to > the amount of submitted I/O, which may have completed before the > error occurred. Return the count of submitted I/O for correct > accounting. Haven't we traditionally failed direct I/O syscalls that don't fully complete and never supported short writes (or reads)?