[RFC PATCH v1 07/17] block: support non-blocking bio allocation with a bdev
yu kuai
yukuai at fygo.io
Thu Jul 9 03:02:32 PDT 2026
Hi,
在 2026/7/9 14:15, Christoph Hellwig 写道:
> Maybe we should just move the blkcg allocation back to bio_submit where
> we know we can sleep?
This sounds good, I already switch blkg allocation just before submit_bio()
in some cases in this set.
Just one question, for nowait case, is it correct that we still can't sleep
during submit_bio()? If so, I still need to add nowait special case during
blkg creation. Or I can just return -AGAIN if blkg lookup failed, this is
much simplier.
>
--
Thanks,
Kuai
More information about the Linux-nvme
mailing list