Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1090416pxm; Wed, 23 Feb 2022 17:53:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJydK16BaKnGrLz1GTmVb+i82faPHOYeGCgMOTJRh7Sx9UPpz721cf11UnxG5wrdOxnMLoaz X-Received: by 2002:a17:90a:990c:b0:1bc:3c9f:2abe with SMTP id b12-20020a17090a990c00b001bc3c9f2abemr433166pjp.220.1645667597683; Wed, 23 Feb 2022 17:53:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645667597; cv=none; d=google.com; s=arc-20160816; b=P15mYzGzvfqW4c43fxwZKSY5IqXl7LHxYI8GHmxHFE9l1nlPqbSDDzETvvJwQpcADG aatcTFTpX+vq5G6eJZLKaTICy60Xsc5uQ27XIHx1+Tq44/6zyHIsKEy9ApZJ+WWJn7rs 4hJGLsjhBIFOCfv+P2sVxj0xSybwYjt6DFTLEXrP/DpUvgni+5CBKRYx6ZunsUfzktWD vwYPB7zf6XQF3+aZ2bZBOy5rVLKnw6AMFPFbbLOEYVfZAewYScq51ktdnutaXqr7A34O YjiCLxlzi2I/GUypID6d9FM/4KPaebUxgcPlrr7I+4n+P1OlFdhgT7rKDUVNqU6Iu8Iy QA2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1BZ0n/VXuB4e+b9N79/HKBcV1lFL5+uSe4QaX/5c2kY=; b=I0NWjxODRmLV7jhWYLsGSMeqr6cmjO0C+VpmyAmJDl3LS9jnkf37V3udDEo7LmjYHX ot3ZRJJHx4+PB3kmZIXYTlPws0qGnnjZht5HtcFnHVfAOpk9rsZKMmsV18BcznkE2Uad uMnBUGWwEM7cGaXeMgnoC6/Lm4JIdgdluAXxUGwUhj03K6C83eE0GKr8yBHsr+5MmfUR jXfSQtJI6l+qUOH8710VuxsbA91/My+ywjfxpJmRmmeQgBXk2yS7dqdIXRnKvBM/+pGu nPN6iTh8K4Jd8uVS8bF9bIC/nZJyUxXp/2emMzFHG8teDJd+wJH6FzzpzfcGtFIjQuMk x/dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="V2NZd/1W"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s14si1141856pgq.585.2022.02.23.17.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:53:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="V2NZd/1W"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC03920E582; Wed, 23 Feb 2022 17:24:42 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240169AbiBWP0F (ORCPT + 99 others); Wed, 23 Feb 2022 10:26:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232823AbiBWP0B (ORCPT ); Wed, 23 Feb 2022 10:26:01 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AD56473B5; Wed, 23 Feb 2022 07:25:33 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-2d07ae0b1c4so214821327b3.11; Wed, 23 Feb 2022 07:25:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1BZ0n/VXuB4e+b9N79/HKBcV1lFL5+uSe4QaX/5c2kY=; b=V2NZd/1W3V3wsR/bZWYyX1ajF8T1xlMT/2MYjmionIym5JJTz6F7twH//YkxTeQXF0 Kl20Sy5kTW/v6HoyzBLeCETx+N4AdOINs6qDKzRuG3W2fy+aXUDyv/m0zaPGncxe4I1u U3bUQiCGDQpT7A01SNUUM6g6qEuhVWOb/IRTr1AI0+1n8G8QcByT00Xo3SRhCOth+fsj y4xWLsZaDWB88jTXzBz44uVgddZfj/PLsM6onazKGdpTpjZPWMnoX9w615Dmc0u99a7t s0YnWE+yLWNVg3lL3Wg9hc5WjZwM0qWAWiMX9IUwTjThS7HKVT6Rog9SkZEqohzBzPNd 5YYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1BZ0n/VXuB4e+b9N79/HKBcV1lFL5+uSe4QaX/5c2kY=; b=bGuJSTPBBfWFv5yy3GtmyPAo6JIOVnsOewYZLDHcedHRl3P/Z9MIwGsCXSTAHR34ob f27J0jC403vzqMKgzs64QNuNnsFFBWWqxgJFLvmB/KkByWTtWUTFbHkyG6Ixc3In2Jch oSVCsDxx9fwHy40xDH0aqiVv4zj4s16sEAuqCghxyJ5ZwAm+vPCCZC0Ke0SNkijXQwD2 1jzIdMt9S3+bil8yBHVNFB82ifWt/v7BoumDPmrhSTwMVT/oaQQkY/GfzT9dA3JbYtDd PGVaI6Kdqk/XwHsKmSJranlqfENspV8vJuwbqDvGhJKYrc01/lTwayQ8YT9AnzhxZNTy jUtA== X-Gm-Message-State: AOAM532/Z8Z7deW8pSiwfslbKoe8J/ew11U8onXb8He3EhbTrRMjeOqA 1cY8vKczfeA68qcwVIZBn32MHdTskoJ1XOYSqIIGpGGc X-Received: by 2002:a0d:df81:0:b0:2d0:8db5:1a7e with SMTP id i123-20020a0ddf81000000b002d08db51a7emr133238ywe.359.1645629932664; Wed, 23 Feb 2022 07:25:32 -0800 (PST) MIME-Version: 1.0 References: <20220222154634.597067-1-hch@lst.de> <20220222154634.597067-4-hch@lst.de> In-Reply-To: <20220222154634.597067-4-hch@lst.de> From: Ryusuke Konishi Date: Thu, 24 Feb 2022 00:25:20 +0900 Message-ID: Subject: Re: [PATCH 3/3] nilfs2: pass the operation to bio_alloc To: Christoph Hellwig Cc: Jens Axboe , "Theodore Ts'o" , Andrew Morton , linux-block@vger.kernel.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nilfs Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Feb 23, 2022 at 12:46 AM Christoph Hellwig wrote: > > Refactor the segbuf write code to pass the op to bio_alloc instead of > setting it just before the submission. > > Signed-off-by: Christoph Hellwig > --- > fs/nilfs2/segbuf.c | 20 +++++++++----------- > 1 file changed, 9 insertions(+), 11 deletions(-) Acked-by: Ryusuke Konishi Looks good for the 'for-5.18' branch of linux-block tree. Thanks, Ryusuke Konishi