On 8/17/20 4:00 AM, Ming Lei wrote: > Block layer usually doesn't support or allow zero-length bvec. Since > commit 1bdc76aea115 ("iov_iter: use bvec iterator to implement > iterate_bvec()"), iterate_bvec() switches to bvec iterator. However, > Al mentioned that 'Zero-length segments are not disallowed' in iov_iter. > > Fixes for_each_bvec() so that it can move on after seeing one zero > length bvec. Applied, thanks. -- Jens Axboe