Re: [PATCH 2/2] block: enable zone-append for iov_iter of bvec type

Johannes Thumshirn
2020-07-03T13:02:50Z

On 03/07/2020 08:56, Kanchan Joshi wrote:
[...]
> Yes, zonefs does not use bvec iter. But while enabling io-uring path for
> zone-append, I hit into this condition returning -EINVAL.
>
> Reference (from user zone-append series cover letter):
> "Append using io_uring fixed-buffer --->
> This is flagged as not-supported at the moment. Reason being, for fixed-buffer
> io-uring sends iov_iter of bvec type. But current append-infra in block-layer
> does not support such iov_iter."
>
> And zone-append doesn't have a problem in using bvec iter as well, so
> thought that this may make infra more complete/future-proof?

As long as it's no problem for current in-tree users please keep it as is.
Please submit this patch together with your io_uring series as a preparatory patch.