[PATCH 0/2] fix/extend zone-append in block-layer

From: Kanchan Joshi
Date: Thu Jul 02 2020 - 11:42:11 EST


First patch is about returning failure (rather than success) when
max_append_sectors is 0. This prevents bio_iov_iter_get_pages() from
getting into an endless loop.

Second patch enables issuing zone-append with iov_iter of bvec type.
It adds a helper which is similar to __bio_iov_bvec_add_pages() but
takes zone-append limits into account.

Kanchan Joshi (2):
block: fix error code for zone-append
block: enable zone-append for iov_iter of bvec type

block/bio.c | 33 +++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)

--
2.7.4