From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E52EECE58F for ; Tue, 15 Oct 2019 17:59:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 33B832067B for ; Tue, 15 Oct 2019 17:59:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388944AbfJOR7o (ORCPT ); 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.