On 10/25/21 11:12, Pavel Begunkov wrote:
On 10/25/21 08:35, Christoph Hellwig wrote:
On Sat, Oct 23, 2021 at 05:21:35PM +0100, Pavel Begunkov wrote:
With addition of __blkdev_direct_IO_async(), __blkdev_direct_IO() now
serves only multio-bio I/O, which we don't poll. Now we can remove
anything related to I/O polling from it.
Looks good, but please also remove the entire non-multi bio support
while you're at it.
ok, will include into the series
You mean simplifying __blkdev_direct_IO(), right? E.g. as mentioned
removing DIO_MULTI_BIO.
There is also some potential for doing bio_iov_vecs_to_alloc()
only once and doing some refactoring on top of it, but would
need extra legwork that is better to go separately.
--
Pavel Begunkov