[PATCH V9 6/9] nvmet: add bio init helper for different backends

Christoph Hellwig hch at lst.de
Mon Jan 18 13:33:53 EST 2021


On Wed, Jan 13, 2021 at 05:04:49AM +0000, Chaitanya Kulkarni wrote:
> On 1/11/21 23:34, Christoph Hellwig wrote:
> > Nothing NVMe specific about this.  The helper also doesn't relaly contain
> > any logic either.
> >
> What is the preferable name ? just bio_init_fields() ?

We'll eventually need to replace bio_alloc with something initializing
the additional fields.  For now I'd just do nothing and skip the helper
for now.



More information about the Linux-nvme mailing list