On 10/25/21 08:36, Christoph Hellwig wrote:
On Sat, Oct 23, 2021 at 05:21:36PM +0100, Pavel Begunkov wrote:
+static inline void bio_set_polled_async(struct bio *bio, struct kiocb *kiocb)
+{
+ bio->bi_opf |= REQ_POLLED | REQ_NOWAIT;
+}
As mentioned last time I'm a little skeptical of this optimization. But
if you an Jens thing it is worth it just drop this helper and assign
the flags directly.
Ok. I'll keep it last in the series, looks Jens doesn't mind
applying patchsets partially.
--
Pavel Begunkov