Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6895137ybp; Wed, 16 Oct 2019 00:10:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDRFudwAmFa3SRAKrfkvvsy2qNwjUh72bJTQYf8ZZ8cr4S5VBWM6Q4GUidQf/3ayQqqFDd X-Received: by 2002:a05:6402:17f1:: with SMTP id t17mr36942900edy.11.1571209839234; Wed, 16 Oct 2019 00:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571209839; cv=none; d=google.com; s=arc-20160816; b=TazhkBdpjnb3l0S8vaL3NMd93eH59Z9TKxP2+geouPFYgnKQVdcP0GO6G9Ks0ukEae I3Q1qWQXDRUcTRR5sbfMJmCbePleItqAdlJE/cuNvJqkhonIgDXJvCS8iKEtnh/2Msj0 DAFoZNhdrXp4TtoUqM6yRmFpayzjNDMxADxFxma6ezNBAvAP+GP6q6RSjhAUFsB9fvEE 71Loq1qQls/9knhTfAcxmNH8kvPE+JDZm0pmaGCQB5fe44Pfa5sER26DHG5eEF3hMRa/ pop95CkOl9qM3wbgqAx4nyqnYufw2mJzZwytoyDyLpZ3KVSYKBUU7Qew9R3X8JfJYrtP YLwg== 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=KfNbP7C+XqejJQjcrmsXHVjPh+XHA/SQiaex1KVkqwk=; b=H1NdsyTwPGRLzD0kVXqllkJHZAI1cbJyz42p3bCheZr4t6u4GShH8oEOPAGH76+jEI 0myDiE0uZGrzgTC5VbLwxdEafL0jPJvdQgHZd9OF50B8sEYoviQARl4xTJiKc2hQPfHB Ll8PIgyiPLYJPBk72oJ/pbDUWs0B/ZX2/2v8u7CAPSQ4r8AC7uLUYGVuX/OHHj+NS2ce +oTKw6oQ9rJFOcE72tKwRNf5Qa936x2PPo+OAFXAK0JhztIAyLeqk9VX+6H95lvbGQcl KjDr2pM5Kyqp5tDSFd/NnVHeNJAyDLkDphx/LohFCfV0Ln5Bsj4ycQFe4I7a1wgwlXKG Gkpg== 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 b34si18752855edb.439.2019.10.16.00.10.16; Wed, 16 Oct 2019 00:10:39 -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 S1728095AbfJOV0h (ORCPT + 99 others); Tue, 15 Oct 2019 17:26:37 -0400 Received: from mail105.syd.optusnet.com.au ([211.29.132.249]:56079 "EHLO mail105.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbfJOV0h (ORCPT ); Tue, 15 Oct 2019 17:26:37 -0400 Received: from dread.disaster.area (pa49-181-198-88.pa.nsw.optusnet.com.au [49.181.198.88]) by mail105.syd.optusnet.com.au (Postfix) with ESMTPS id 40D11362911; Wed, 16 Oct 2019 08:26:35 +1100 (AEDT) Received: from dave by dread.disaster.area with local (Exim 4.92.2) (envelope-from ) id 1iKUKw-0000iE-Fp; Wed, 16 Oct 2019 08:26:34 +1100 Date: Wed, 16 Oct 2019 08:26:34 +1100 From: Dave Chinner To: Christoph Hellwig Cc: "Darrick J . Wong" , 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: <20191015212634.GX16973@dread.disaster.area> References: <20191015154345.13052-1-hch@lst.de> <20191015154345.13052-5-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015154345.13052-5-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=D+Q3ErZj c=1 sm=1 tr=0 a=ocld+OpnWJCUTqzFQA3oTA==:117 a=ocld+OpnWJCUTqzFQA3oTA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=XobE76Q3jBoA:10 a=20KFwNOVAAAA:8 a=7-415B0cAAAA:8 a=JuDxSlhT3OO6blO4plAA:9 a=CjuIK1q_8ugA:10 a=biEYGPWJfzWAr4FL6Ov7:22 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 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. > > Signed-off-by: Christoph Hellwig looks ok. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com