Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6739803rwd; Tue, 6 Jun 2023 00:54:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Xw5sapdtYtkaeOehDLLmr7T6Kyt3t6IwlLHzrwPU4tOE9yqF++b7R5k+f7MxKBk1qtvyk X-Received: by 2002:a05:6359:d0f:b0:129:cf92:6908 with SMTP id gp15-20020a0563590d0f00b00129cf926908mr2143282rwb.21.1686038066857; Tue, 06 Jun 2023 00:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686038066; cv=none; d=google.com; s=arc-20160816; b=znc5bwDHvrotRWSyTJd6OgxodIuYFKadIeTcRCGY4WzJyEwxqbfH9Y7diEtx3zX/Qx aKBENVcrArEbk3l/+RAVLnzqee2Zh42uAZTJr6ZsByF8xtjudXWBu+H/ibcbe1aSMEZu 5e7Y6TQ3Ezx9tWuIStAtEr8lDnH7RugqbC+jufy5jW4rgjicGR+N+oiIoDJ49JRwlVF/ 4FFSFQZ/MyYDsPee48qifEFINiVrDakRcVcgM/2/Cq90VJ1uo4UkU7S8DcloMhePn1V4 RftakGnH06kT6sYn603xpj1uZkvT6QOjjaO/0km2sggodfoQUzXZXKoKeKRwpKsWdJTr jFpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=pvza9IPMgmRkUl/NJKuP6rAJ/u8djUVL0bbFabvKlV4=; b=ZXT3ViwjGQZ+evxrecUjTw7iCUS+t9EZlCgFYlZNiUEZlvib8UgUamJRwJ7U3i+NKG gkQb+Jcssr7dT3WTThcBrK/i52JpahYt0f/xfQcFaTD3cuuqIqbTb9z3ZTiI7OMacYBx zNdYq+nOYzIqucHVAOayhEiRfM0d8yoA2qIl7g4kJGMZJ6bY71iY+Daa4Lv8dGbBVazi 8fzLFcJ/8EPW3fbWFiGIN4r53fzKsKgfGOtK3BPjnXY0XsvUfWxmDFSyeJqTvJtAOpJT 6z0Sw/xC+rvWvr6hnp0C0J/q4MYn05QP78lrYeuqHyOLRWMqjOnbPFj4ds8S22CrPjYQ 57Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TMv03tPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 12-20020a17090a1a0c00b0024bccf6609dsi6392561pjk.114.2023.06.06.00.54.14; Tue, 06 Jun 2023 00:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TMv03tPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235488AbjFFH3f (ORCPT + 99 others); Tue, 6 Jun 2023 03:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232496AbjFFH3d (ORCPT ); Tue, 6 Jun 2023 03:29:33 -0400 Received: from out-39.mta1.migadu.com (out-39.mta1.migadu.com [IPv6:2001:41d0:203:375::27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BEAAEC for ; Tue, 6 Jun 2023 00:29:31 -0700 (PDT) Date: Tue, 6 Jun 2023 03:29:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1686036570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pvza9IPMgmRkUl/NJKuP6rAJ/u8djUVL0bbFabvKlV4=; b=TMv03tPHFmRnFSk4eVCnmeG98P+YeUM3qWkAAPB/9EZfD4JclfClbAINn24CJosfC5wspj XFMaiZa0fXdIHqlYFjKomsGiU7Ywdsn+riZjAPyNGjS+vBjDC5ST8w0D+dsy5Ao6l3toF4 7JMRiT8WHvDLm0skuTHlHtAGM5SDoRM= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Ming Lei Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Phillip Lougher Subject: Re: [PATCH v2 1/5] block: Rework bio_for_each_segment_all() Message-ID: References: <20230605212717.2570570-1-kent.overstreet@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 06, 2023 at 10:03:45AM +0800, Ming Lei wrote: > On Mon, Jun 05, 2023 at 05:27:13PM -0400, Kent Overstreet wrote: > > This patch reworks bio_for_each_segment_all() to be more inline with how > > the other bio iterators work: > > > > - bio_iter_all_peek() now returns a synthesized bio_vec; we don't stash > > one in the iterator and pass a pointer to it - bad. This way makes it > > clearer what's a constructed value vs. a reference to something > > pre-existing, and it also will help with cleaning up and > > consolidating code with bio_for_each_folio_all(). > > by-value is more readable & clean, the current by-reference is just for aligning > with original interface. This is the fourth or fifth time this patch set has been out on the list, and I specifically asked you to review it awhile back, and you're just now looking at it?