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

2020-07-03 Thread Johannes Thumshirn
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

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

2020-07-03 Thread Damien Le Moal
On 2020/07/03 15:56, Kanchan Joshi wrote: > On Fri, Jul 03, 2020 at 05:32:56AM +, Damien Le Moal wrote: >> On 2020/07/03 0:42, Kanchan Joshi wrote: >>> zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. >>> Add new helper to process such iov_iter and add pages in bio honoring

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

2020-07-03 Thread Kanchan Joshi
On Fri, Jul 03, 2020 at 05:32:56AM +, Damien Le Moal wrote: On 2020/07/03 0:42, Kanchan Joshi wrote: zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. Signed-off-by:

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

2020-07-02 Thread Damien Le Moal
On 2020/07/03 0:42, Kanchan Joshi wrote: > zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. > Add new helper to process such iov_iter and add pages in bio honoring > zone-append specific constraints. > > Signed-off-by: Kanchan Joshi > Signed-off-by: Selvakumar S >

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

2020-07-02 Thread Kanchan Joshi
zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. Signed-off-by: Kanchan Joshi Signed-off-by: Selvakumar S Signed-off-by: Nitesh Shetty Signed-off-by: Javier Gonzalez ---