Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6394061ybp; Tue, 15 Oct 2019 14:22:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSIaTp2j2mcSKTdrG1N3qIOvqS/nRiF/TtXAakgYtNWiRmVTf9QrB/lwhXI7c8WGEdNOU6 X-Received: by 2002:a17:906:5e19:: with SMTP id n25mr37363758eju.131.1571174529811; Tue, 15 Oct 2019 14:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571174529; cv=none; d=google.com; s=arc-20160816; b=NqYUcnx2kFG2IWZisCe+LdXucBUndaULPDKPA6VhtD3/6Rincb4OwK+LWDFqKnUF56 tiyGEuwRfnKX8bNqNDEzklhFPPFCQkLTjgrLGElhalIQ64dsFafutFPX1wPJAkBj9baw tx9mDoEe70DWnjQPiKDNg9Shf3hC85b8q+pkC+WqFyoUWLlTl8Kp9Z7DmPWOIt4kzBPt QgDiLpizZhQcxw2uRWpmvq/NWXE2XKvcXQ7oZ6kAc+lH87wMgSxd8FwfhZDsw3alEau4 1mNbLaxTFdrvji8SomCrWt4t2eqpPM+psPBPORJML+JR36Y/rNTW6u37U3N0Ee1xweRn xEnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cmRYmdefRoSswy0JtGAztzjnKq+Q+V77v30/zvm5AU8=; b=CgVvXtRE6ctdReJhSSCB4Jru5Ay+tb5fJYI2b9GOwI6EUChZpd8rzq0OXUJR2HlhAn gg9/frZZDYXy01mQwze/NZVm2CsP2SlWG/Cb4GBQUdelIHsKrdLECS1B8pEJjtP3Zj8Y /RF9heijkEoJvHmm7WEYQHbqSoFoKaFxtNuJduP7ScrsDiJ/TGyRqZCEJA29wdnWzBLi ftsYtfGp4KHeuvqXKxcSnXUShPaZ6rWZn6/rjS1HIYeTtp/tl/OXVeOXm3ued8P6JeYN 0c4edL8xdb6nkYde0ONsF2XPE+45CCzIbcocIJ0U2V/Y6QLiSMjMv3KKNY5GXovU2Zb7 1kpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f57si14907955ede.78.2019.10.15.14.21.46; Tue, 15 Oct 2019 14:22:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388829AbfJOR7o (ORCPT + 99 others); Tue, 15 Oct 2019 13:59:44 -0400 Received: from verein.lst.de ([213.95.11.211]:56368 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbfJOR7n (ORCPT ); Tue, 15 Oct 2019 13:59:43 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5493068B05; Tue, 15 Oct 2019 19:59:40 +0200 (CEST) Date: Tue, 15 Oct 2019 19:59:40 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , Damien Le Moal , Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/12] xfs: refactor the ioend merging code Message-ID: <20191015175940.GA11481@lst.de> References: <20191015154345.13052-1-hch@lst.de> <20191015154345.13052-5-hch@lst.de> <20191015175619.GN13108@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015175619.GN13108@magnolia> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 15, 2019 at 10:56:19AM -0700, Darrick J. Wong wrote: > On Tue, Oct 15, 2019 at 05:43:37PM +0200, Christoph Hellwig wrote: > > Introduce two nicely abstracted helper, which can be moved to the > > iomap code later. Also use list_pop_entry and list_first_entry_or_null > > to simplify the code a bit. > > No we don't use these.... ^^^^^^^^^^^^^^ list_first_entry_or_null is used, only list_pop_entry isn't, so that needs to be removed.