+20
−4
Loading
Misaligned DIO read can be split into 3 IOs, must handle potential for short read from each component IO (follows same pattern used for handling partial writes, except upper layer read code handles advancing offset before retry). Fixes: c817248f ("nfs/localio: add proper O_DIRECT support for READ and WRITE") Signed-off-by:Mike Snitzer <snitzer@kernel.org> Signed-off-by:
Anna Schumaker <anna.schumaker@oracle.com>