On Sat, Oct 23, 2021 at 05:21:31PM +0100, Pavel Begunkov wrote: > I don't find a good way how to deduplicate __blkdev_direct_IO_async(), > there are small differences in implementation. If that's fine I'd > suggest to do it afterwards, anyway I want to brush up > __blkdev_direct_IO(), e.g. remove effectively unnecessary DIO_MULTI_BIO > flag. If we add another code path we should at last drop the DIO_MULTI_BIO code to keep the complexity down in that function.