Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp131923ybj; Thu, 19 Sep 2019 11:49:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ1MP23YKz5kQiIvXDkZNIv1TJAEvPd1ueHspJ5IReuCxLVd7MHU4690pBEu3T6VElG9b6 X-Received: by 2002:a05:6402:1681:: with SMTP id a1mr17645473edv.218.1568918942848; Thu, 19 Sep 2019 11:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568918942; cv=none; d=google.com; s=arc-20160816; b=0InXX8rM0vAzfqrHoDem9ZlDDjqfKm6P93bSLgRb2P2CvksAF6HqyH2sUstqm2BVfz pOqHshfgksrvbiXR5m8kW5yEJYETFz6yJ/3sEYRt/F45167CvlvSSDSDcafoe2Q6Rth1 iHFWa0KUmb9snsSLxrlZcCNETzTReeBxkjjugYY0csKrQHYIAf6kECIZe9J6SIVD5BWo Nw2FoIPsRvzE4AG9hFuPIVJ6jL0kOZKauzwLLclnhTC1yl1mi3+kuDNSrKk9LmtMzMtd MhWr8rFaVQRPr//JQeE+u5W7iF0Jsap9iMfAk1mrlSaixMiV2wQaHQ9IRlu/KZuKQ9dO nNww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cG/q3cFRYsyXfs7WGIDIqxPhNH59Y8kVxp4a4QrtYec=; b=SOakwPfERdHerHslWAbAvxgRptppGk+dRD+mi0ue8mJJQDJzYwMSQ79radztUwfx49 ptBbdMO0oYx/IfTTzkJ9xcu1eGBX6ubaPWCTh766eY2n2T7yLYq+EHW+SA6Nl8A9tpoR Ne+zezTXqC9jVuFV3NBHWLmEbB2ALo6s9GY6Pf9WfLa82nN4XTHDV/y4TDrBVSoAfKOs Jl9q2QcidGgafCjU+e/Z93KuqUKmwZeYZhbm/FdfEiqzoxYrOTMrVz83oE9SKkRB3Lix l7qbNBb8CX3k2DgCaNrDchh2TZnwGkSt7YZZUeyM/MOsQ53wNKfM+1o1EOqIr0uGurMo uzyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=E2cDdbP2; 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 c21si4875024ejs.390.2019.09.19.11.48.39; Thu, 19 Sep 2019 11:49:02 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=E2cDdbP2; 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 S2390983AbfISRFF (ORCPT + 99 others); Thu, 19 Sep 2019 13:05:05 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43779 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732529AbfISRFF (ORCPT ); Thu, 19 Sep 2019 13:05:05 -0400 Received: by mail-lj1-f196.google.com with SMTP id k21so28506ljh.10 for ; Thu, 19 Sep 2019 10:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cG/q3cFRYsyXfs7WGIDIqxPhNH59Y8kVxp4a4QrtYec=; b=E2cDdbP2/fhgtUxeWn9F/GPtmg03tInrSSBmBjgzSx2QzM61s/GaEXUloJz81ijobL PDNb7lDrr/uWOWaQGMcZ/bzgSkg2A+IktHmv0xZxrybAdkgVOGCSAErBYug47C0mIo+0 3rMkP4xNaakXDWOWhasJcY2phrxijQ6+lzNPc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cG/q3cFRYsyXfs7WGIDIqxPhNH59Y8kVxp4a4QrtYec=; b=Z6RM2hpj23z0LNtlCXp5jJaZKEsLof88iFn++LPJocq/OkSDzSy2WzUfViXOtuuGd4 7Py0TMR8oDraEt9bLoFLRnvJcLJDnYBQywm3MVDMUAcNj1OLoqVkc/29HFrk8WaGxLdG LLBxC+qfuody420R75o3eBlDGLR1G34UT8lhc9Nmp2fPAmkC2PzYRlPhbp2oNz4TCFJt ihoHyp4m2h7WiTPSq8hAlXqRdghELCZwti/z9B97vUMAo/exsi95fy1HwTsKXhKdKOY0 81AhGWEA6L57UycQfggV4yKVcGtc3GmlKlgnGTljzgQPO/i4NOywkxw7keCgvlBnfGpM FDgQ== X-Gm-Message-State: APjAAAWkoZZf2PErh/i34ifU7LsvoTwRxicRPhmq8Rj3o30VdKkmyeHe +j75r7V0aNUajSi3RBlNU6IKyzEh5i8= X-Received: by 2002:a2e:9605:: with SMTP id v5mr6271284ljh.49.1568912702553; Thu, 19 Sep 2019 10:05:02 -0700 (PDT) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com. [209.85.167.54]) by smtp.gmail.com with ESMTPSA id m17sm2057054lje.0.2019.09.19.10.05.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Sep 2019 10:05:00 -0700 (PDT) Received: by mail-lf1-f54.google.com with SMTP id y127so2949891lfc.0 for ; Thu, 19 Sep 2019 10:05:00 -0700 (PDT) X-Received: by 2002:ac2:47f8:: with SMTP id b24mr5615990lfp.134.1568912700141; Thu, 19 Sep 2019 10:05:00 -0700 (PDT) MIME-Version: 1.0 References: <20190917152140.GU2229799@magnolia> <20190919034502.GJ2229799@magnolia> In-Reply-To: From: Linus Torvalds Date: Thu, 19 Sep 2019 10:04:44 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] iomap: new code for 5.4 To: "Darrick J. Wong" Cc: "Darrick J. Wong" , linux-fsdevel , linux-xfs , Dave Chinner , Linux Kernel Mailing List , Eric Sandeen , Christoph Hellwig , Andreas Gruenbacher , Bob Peterson , cluster-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 19, 2019 at 10:03 AM Linus Torvalds wrote: > > So inside of xfs, that "pop ioend from the list" model really may make > perfect sense, and you could just do > > static inline struct xfs_ioend *xfs_pop_ioend(struct list_head *head) Note that as usual, my code in emails is written in the MUA, entirely untested, and may be completely broken. So take it just as a "maybe something like this works for you". Linus