Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4766630pxb; Tue, 2 Nov 2021 15:39:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztyCDuxEy6dtcp/pXRkd3Hn9x7nx23G+xovKk0xfdzLfpZ4AdMpQMcfmKHlACVI11TVzjK X-Received: by 2002:a05:6602:15d3:: with SMTP id f19mr17963674iow.211.1635892794753; Tue, 02 Nov 2021 15:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635892794; cv=none; d=google.com; s=arc-20160816; b=0itexkbhumylVxjT/eczRB3vfaL3bsM6tTWb6XtZzbeiAKcMgm2Idn4d0SfHRKIxZN cXlgAeshX3KficeRg3cQ/ICdvIeZ2VFDP4+6iOv449R+Rlq2/jofZl/CpDbhcSzowkoi Jd3xPCbm7AacjuNVOZhwQ0byJNTe92fwBvpyu8H3X71DbUB06RHId1cvV6nyyoW7cfBM hYfLFn4FJ/46W87s3MbY4Rjr79zsbp73KhpBL/O5OAyK7OoPyq2Imhq17ue8MKjJjhxX tGmyz0XDF8O5pV2JMRWgy0G0eeKIOaJh8+A/BvAvGdaMJpQJAmlEIreqcbDoE4qOd+EZ 3eOA== 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:date:dkim-signature; bh=dWO6g/nrBiN3Zw51jTjdKmYUGlVPIJ0BoNLcckpIH7s=; b=BOAZRSO7Ie/o9TrBOz7lNosQUjFJreOlTnlakqCNSyGhectQnP6DgwvOtP03o8OpTw 9GXzSOEWK934JmcE4Wh/eYCkoyZsYnOlhSRXbPmqUk82BlhTw7noiwJs7ahW8qd9lgCw TfcqPVtNMkFvQoiOvqxxhHhi3uDbhIKFDL7h1Vw5lwn87ji49JoYv5juDIxi5cFE4RrZ NWzDEQpyL9sgpPnsd83HFaVzNhguKcQPvYy2YXJfCtLrZon/jUbFxwSlHTbd1ISHL/ny 0mH0/jQI7poO56b0p0fI4QlGS0g3GiD++5CZ/Vdgv2wyzjiQPxcraJplRJQ0PMmT5HcB zvVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aTFmwz7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si553059jad.19.2021.11.02.15.39.43; Tue, 02 Nov 2021 15:39:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aTFmwz7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231206AbhKBWkI (ORCPT + 99 others); Tue, 2 Nov 2021 18:40:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:49686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbhKBWkI (ORCPT ); Tue, 2 Nov 2021 18:40:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7631B60E78; Tue, 2 Nov 2021 22:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635892652; bh=5Avz5CJ4k89VParLUaa1lNAvTbXfbJafWtAgcmx0Tj0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aTFmwz7a9dicRb8a1+owkax+gGPfSAp3XN+l5CITG9/bkbBDXHmiBAJqS+n3Zz6ka rKV6TkN6uTFDGblhw1aOJWqc4JOE8vxqfUiKPWRGv/651UHfVSq9SQcGp0CScWQnDp 5Lm0K0RhtuF4LFOCYFTHkTGsfu4rPyRnVDob6N5aOwWBY6E4ayqk4MEId57As28Wb8 ddqWyKqjXu0Tc2muvLIFWEMZwoZ4TXEiy5MNhZddoaC2hD1CaFS+xX2W1BydpA3Pnw ZRfDMlbNkDZoaF63YY/Xw/srARRoC4kFbrcizhY7ZvqPEsz454NJv2FzuX3Qw6dve/ rZpYQ1H9ObJcQ== Date: Tue, 2 Nov 2021 15:37:32 -0700 From: "Darrick J. Wong" To: Jens Axboe Cc: Matthew Wilcox , Christoph Hellwig , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [PATCH 03/21] block: Add bio_for_each_folio_all() Message-ID: <20211102223732.GE2237511@magnolia> References: <20211101203929.954622-1-willy@infradead.org> <20211101203929.954622-4-willy@infradead.org> <20211102222455.GI24307@magnolia> <4ce6fb05-fe8d-6e4c-364a-0e2c9e8ee4ed@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ce6fb05-fe8d-6e4c-364a-0e2c9e8ee4ed@kernel.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 02, 2021 at 04:33:39PM -0600, Jens Axboe wrote: > On 11/2/21 4:24 PM, Darrick J. Wong wrote: > > On Tue, Nov 02, 2021 at 08:24:14PM +0000, Matthew Wilcox wrote: > >> On Tue, Nov 02, 2021 at 12:13:22AM -0700, Christoph Hellwig wrote: > >>> On Mon, Nov 01, 2021 at 08:39:11PM +0000, Matthew Wilcox (Oracle) wrote: > >>>> +static inline > >>>> +void bio_first_folio(struct folio_iter *fi, struct bio *bio, int i) > >>> > >>> Please fix the weird prototype formatting here. > >> > >> I dunno, it looks weirder this way: > >> > >> -static inline > >> -void bio_first_folio(struct folio_iter *fi, struct bio *bio, int i) > >> +static inline void bio_first_folio(struct folio_iter *fi, struct bio *bio, > >> + int i) > >> > >> Anyway, I've made that change, but I still prefer it the way I had it. > > > > I /think/ Christoph meant: > > > > static inline void > > bio_first_folio(...) > > > > Though the form that you've changed it to is also fine. > > I won't speak for Christoph, but basically everything else in block > follows the: > > static inline void bio_first_folio(struct folio_iter *fi, struct bio *bio, > int i) > { > } > > format, and this one should as well. Durrr, /me forgot he was looking at block patches, not fs/iomap/. :( Sorry for the noise. --D > -- > Jens Axboe >