[PATCH V2 05/13] block: only account passthrough IO from userspace
Christoph Hellwig
hch at lst.de
Wed Jan 26 00:49:50 PST 2022
On Wed, Jan 26, 2022 at 04:33:54PM +0800, Ming Lei wrote:
> > I guess you are worried about the latter conditionin that we stop
> > accounting for no data transfer passthrough commands?
>
> No, I meant that bio->bi_bdev isn't setup yet for passthrough request,
> and not sure that can be done easily.
Take a look at e.g. nvme_submit_user_cmd and iblock_get_bio.
More information about the Linux-nvme
mailing list