Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1190679pxb; Wed, 6 Apr 2022 10:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqZvac7npcDeM/aRqY7EaErVPlCArKzbknfB6R3kS39NAaJIR50h3JbNc2Dwf2iVlYiY7J X-Received: by 2002:a65:4541:0:b0:382:a08a:bf37 with SMTP id x1-20020a654541000000b00382a08abf37mr8024393pgr.392.1649267678256; Wed, 06 Apr 2022 10:54:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649267678; cv=pass; d=google.com; s=arc-20160816; b=pZeeZgurdpwe0kqR5+kTnveZ5Sq56KujKA2pYl8SNZ9QF2u1MbrWQqyb7e9MPw+zu0 wRMbNdmVwiyyJmdNTKtG3BBq5Yk7ihsCQp6Do0ZG65wCykaFArkPN3npc5Rpjo9Qfudd oEvPDVt9bjUYUV9HQNjyn+ghiyADIa0WDNrYL84ol7oQELgY40eW2+yBURGrKcLl2O63 KijC0BGQoW7wSQ//FNrJG9iKrFDLx/Xx3cqG/y5d7LAMuBtoG4sx7zDN9p5naTXbkc1U f7wy2RH1W1sz+0jgHKKmyT3TGE3tuqqorQZAtMLfIg/hmaIguCN2CxPXSTj8uC6G6o0+ BYKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=gJAukSAYH13slROZ+O/1zE9dApu5nnkLcOe6ijXVn9E=; b=PotqF4eUhI+75TxI/XFHF45U4+1TictNQSJi6A1rN+GLmfk24C6CvA0fsNgjZ3GAJS jShoMp9VIKgS/qyjcT3DV5mxR801lt9cxZx3m1jqasdWNKZHdlyvjZi4fFwotZXfl32e AsTSCLePYtIjUxpKBwgws6lIKV6cuXmyKBdhEchwqjh+LN3EpkkNoCXtcyKDUC9JAu6Y IXV16LhlZIF7lLD5pCeK+7aX1ImGLBxCHRu7dHe+TchOI15PEp4gcF9so7EUfsH6IO0w Hj2qonw4KGR/F0zko/QHI6FVOoPjIb1/M6BjG83zUl8e5+NgTPLqCfcgV9cajeNToFIZ 1Oog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=uZGdQ1fq; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l10-20020a170902f68a00b00153b2d1660esi17728735plg.534.2022.04.06.10.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:54:38 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=uZGdQ1fq; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A2D53D3992; Wed, 6 Apr 2022 10:46:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239534AbiDFRsO (ORCPT + 99 others); Wed, 6 Apr 2022 13:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240000AbiDFRr6 (ORCPT ); Wed, 6 Apr 2022 13:47:58 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2077.outbound.protection.outlook.com [40.107.92.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18221587B4; Wed, 6 Apr 2022 09:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oR2IqTGa7tLIxjKroJZj8ednyMS88SV90X6rr/erv8Lq8gU19uGkC2hMi6TtFnAGY+c63XaHEnRbiFtiG+uFQ51vl0HqSQNM1Qr09T2wW4hdalPRLyE0F2IWYrkF1CQkZ6n6MMhv5vhp+tblyi109QUlq+g6dCjKmNIjQo7FFcOJmDoouYUb/pMYRqqlvVaYiiFkBYpEcK3lsRWpj4174P2CDxm84m2Of4SWBKxr03EPGx+pWROc4FsjEr3NBLuq6GqQ0KkcDza+mn+GnYHimlcyNh3hHwUYW0GrllAo99iJqD+6Obx0tYwfybCw7dYf8DLGtZF2aTRl4cpP4xOOyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gJAukSAYH13slROZ+O/1zE9dApu5nnkLcOe6ijXVn9E=; b=ZW2G2cby8F4bwAQbzQIqaN3qVfIhBfMlp/TJ9kAD/BMRj2UfuIztoBxJ+rOoHJotVshh8kWHK6qGLVnGBsAjo6QqVPWGY2sS5fyhpaipHmJh7fqMhhkWYY+ECVGVHr882H7CfhId6o5YhuqnXXFbxlYdLq9NKZC7G4W1pjQiAz19g1U3ufXPfR9rVdtQq46FmFTdO6xHaYbOI2wzh2YLnHCzY76KgyWhHJmTbCawDP3XSNdn4xW9its+zwfnB3aaOlEYnmOFj5LaoKZhzQJymFH4eqnGcEOJxWAPgBlDtNbWBMUAPXjYvsaEgU/X7v7DcJYUY22PrHF4JAEgbs39KA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gJAukSAYH13slROZ+O/1zE9dApu5nnkLcOe6ijXVn9E=; b=uZGdQ1fqOvJxNfw/y4aA0uzW8eTrHQ+6XwN5Mepb+77kUSowJ8anMOz2R419IiMRz7Ed4GE88OdV02vvFURm6XviQObg/6uhmJvvFmICne+g3wvxR25KXNeq7SuTQ4pCJUsdoxGpe1CvHLM+6tDMhoW0Yv8VVe3Dug7sWOKiBSlBQeMICRnMnvSCJPAgfY4je+MDUdfml4RS93SDXsLiMhPBsitAqdbRLsy5mrDSbl43lMZb2IPI/nk/e/9BUCjGef4YJYABjVHbh+OUjeYSqVOaBNtq5dMlMOCuxv4GuaOwEjeuqz9dJaCGxkhAgifhkslCK1KEvNnFtrvJVPvwfg== Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by SJ0PR12MB5439.namprd12.prod.outlook.com (2603:10b6:a03:3ae::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Wed, 6 Apr 2022 16:23:39 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::3dbb:6c2c:eecf:a279]) by MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::3dbb:6c2c:eecf:a279%6]) with mapi id 15.20.5123.031; Wed, 6 Apr 2022 16:23:39 +0000 From: Chaitanya Kulkarni To: Christoph Hellwig , Jens Axboe CC: Coly Li , Mike Snitzer , Song Liu , "Martin K. Petersen" , Josef Bacik , David Sterba , Phillip Lougher , "linux-block@vger.kernel.org" , "dm-devel@redhat.com" , "linux-kernel@vger.kernel.org" , "linux-bcache@vger.kernel.org" , "linux-raid@vger.kernel.org" , "target-devel@vger.kernel.org" , "linux-btrfs@vger.kernel.org" Subject: Re: [PATCH 1/5] btrfs: simplify ->flush_bio handling Thread-Topic: [PATCH 1/5] btrfs: simplify ->flush_bio handling Thread-Index: AQHYSZjZVpHjFA1osUGKQf+OEuELhqzjEiaA Date: Wed, 6 Apr 2022 16:23:39 +0000 Message-ID: References: <20220406061228.410163-1-hch@lst.de> <20220406061228.410163-2-hch@lst.de> In-Reply-To: <20220406061228.410163-2-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a077090-1ee1-445f-245d-08da17e9cf23 x-ms-traffictypediagnostic: SJ0PR12MB5439:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SZako8/mNslluddmggn13XiHPs5LPJC57/JoMOCEAGuXb9TgWeAINll8jXP4sAx5tnUrGuzHDgr9P7PsCFU7iIWA7DsVFod3qefWuMAOqYYui7iP7PLtY41K1UIkDBNNmXQX1Wr2l9D+X850Sv4UE+riPXFnv3MZBBnjwK2+MxtEMVkr/js50fLJx96eAJgE+WPsFr6oaqWYiyMjpUbnJARBl3dE2CYFBZVRJ+Lax4zNRD0jiJ8q/Kp32i039lrxJuXGTvk7rAF1W6JUyeUBaLFcEXS8ohoDDVr4fOi/GPbplEOkoJBqAPKT00VJnJrWC+nnPSM1M9hXYmVw4pzMh9n5tVbb5I3yz3xrewIeq/EBqIcKhtFA805YAjUO2HpSzBEVZmu0hi4TDIV0P8VOyeiwhiMTItbk/GE/d/5bXxEsBgkUPxJnwC7yNVKtBrIIRLpJ4A1SaDmyxUYDwa2eh0/irmrYInUrNOqGvl6yGBUxePvcjVap67wcW7/XKGLqohMaZerlPz6Yob2UG8YtLI7rz4z2hIA3hAAqIrFmrfDBAX0ZZwtRTaPs7nhLy5S/HpVYAOcVgDxmMWMsbA5eg/NtSoQppBICjsgwsDMHB5xhuo45dr1SfT3/OzdhrVrAh1Pzs0auELk3rOkBTqZD2m4ZaeZntsYbjIK/A32SlLZSAb1VrEe8Y42G6jDIcW19N6Em/7iXxuWEQns/RG8gaxD17JwLdCfc6ie2a1L5gpzH4iBPwNrogfLDdG09oKCvM53RPLSdHlt2HTZqidBY/A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR12MB4667.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38070700005)(64756008)(66446008)(38100700002)(122000001)(91956017)(110136005)(54906003)(66476007)(2616005)(186003)(66946007)(316002)(508600001)(76116006)(8676002)(66556008)(6486002)(4326008)(53546011)(6512007)(6506007)(5660300002)(8936002)(2906002)(31686004)(71200400001)(36756003)(86362001)(7416002)(31696002)(558084003)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bUdqZ2hnZFZoQ3h4UjdSWlVYSjREZTUySlNtVnVQUzFjVWxIY2NwaEdDVGR3?= =?utf-8?B?RTd6RDNyNUlVcG5wRVlvM2ZxdnBZOU9teDdndi96bDEycWtxU0Z0dVJKUTAw?= =?utf-8?B?UUhFekNPSE5kN3B4RzhrdWFVd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GNmd0VjVlamZyTnNrSGJOeDQwSUg2aGtqUncySnNOWXg2VGs0ODMr?= =?utf-8?B?am5WekFHdFlqQW1PRkNWR1huWklmcWJWMzJLcWdOL1VLUXRLem5sSHJHeDE0?= =?utf-8?B?Zk9jU0cwdmc0RHBMYXhnS3pId241bkpwRmlKc3lxRm9NVXUvQVIxTGEwck9w?= =?utf-8?B?QzZGS2pySnRac3B5VVA3RDRlUzE2WUJ5NlFESTl3RXJMOVpWYWZ2MlBjWEVN?= =?utf-8?B?MldtdmkvWWFGVnlLWW5xak5JNm1QYTJtQTh2YXV6bHp1SVVoVmRQNDd0clBS?= =?utf-8?B?UE1PSDlxSVVuTjc5NGdveUo2ZHpJUXFKZ1dLY1pHVld0N3FTVlY4eU5tM0JP?= =?utf-8?B?Z2V2cWNRa014Qkk2ZW5HSXF3SGJwa3d6R2JPQjdtNmd0cVFmQ05hMlQ2RVY5?= =?utf-8?Q?YBBXNd5EoECmn1rE=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <22D6CBC02F6B4148A8B02D35A022C69E@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4667.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a077090-1ee1-445f-245d-08da17e9cf23 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2022 16:23:39.5727 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MXy1KvXEfF7i6rI3z61vddubR/PXNLrZpVU82Kdjaf7qwVfTyNNRX6cwDhygJebB9kR4F7gregyX2gmHXc8tnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5439 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-kernel@vger.kernel.org T24gNC81LzIyIDIzOjEyLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90ZToNCj4gVXNlIGFuZCBlbWJl ZGRlZCBiaW9zIHRoYXQgaXMgaW5pdGlhbGl6ZWQgd2hlbiB1c2VkIGluc3RlYWQgb2YNCj4gYmlv X2ttYWxsb2MgcGx1cyBiaW9fcmVzZXQuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBDaHJpc3RvcGgg SGVsbHdpZyA8aGNoQGxzdC5kZT4NCj4gUmV2aWV3ZWQtYnk6IERhdmlkIFN0ZXJiYSA8ZHN0ZXJi YUBzdXNlLmNvbT4NCg0KTG9va3MgZ29vZC4NCg0KUmV2aWV3ZWQtYnk6IENoYWl0YW55YSBLdWxr YXJuaSA8a2NoQG52aWRpYS5jb20+DQoNCi1jaw0KDQoNCg==