[PATCH V2 2/9] nvmet: add ZNS support for bdev-ns

Johannes Thumshirn Johannes.Thumshirn at wdc.com
Mon Nov 30 07:29:47 EST 2020


On 30/11/2020 04:32, Chaitanya Kulkarni wrote:
> +	ret =  __bio_iov_append_get_pages(bio, &from);

Can't you just use bio_iov_iter_get_pages() here?

It does have a 

if (WARN_ON_ONCE(is_bvec))
	return -EINVAL;

in it but I think that can be deleted.



More information about the Linux-nvme mailing list