On Tue, Nov 17, 2020 at 03:17:18PM -0700, Jens Axboe wrote: > If we've successfully transferred some data in __iomap_dio_rw(), > don't mark an error for a latter segment in the dio. For normal direct I/O we never return short reads/writes, and IIRC that has been inherited from the old direct I/O code. I think we'll need to make this conditional on your nowait case rather than changing the user visible behavior.