Message ID | cover.1635006010.git.asml.silence@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | block optimisations | expand |
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.
On Sat, 23 Oct 2021 17:21:31 +0100, Pavel Begunkov wrote: > Another split off from the "block optimisation round" series focusing > on fops.c. It addresses Cristoph's review, the main change is > setting bvec directly instead of passing a "hint" > to bio_iov_iter_get_pages() in 3/5, and a prep patch 2/5. > > 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. > > [...] Applied, thanks! [1/5] block: add single bio async direct IO helper (no commit info) [2/5] block: refactor bio_iov_bvec_set() (no commit info) Best regards,