Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3655155iob; Mon, 2 May 2022 02:03:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj43bCoM0sxl8a4R2OdPgnLZt4DwS12t24gxWr+SfYCLLUi0WHVkFdW2iqQMTL74PqKw/Y X-Received: by 2002:a63:6b42:0:b0:3c1:9a7b:cb5a with SMTP id g63-20020a636b42000000b003c19a7bcb5amr9205398pgc.563.1651482197322; Mon, 02 May 2022 02:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651482197; cv=none; d=google.com; s=arc-20160816; b=CyGhrxGq+7EUbfoUyU5YiW3KqW0Jda/8KiCK6REj/qTiNESLbsDtyUHUlaSdC31Ofp gDFbqhWAWmLU7enue1JTq+rXMqnySqJ/eHi3/VPUrfDLQYf2XKl2/NOasXIr3gqmMegW Q0uUk9cyFgegHWEKlDdNijZ+91c0FR8cufTB1vPqC3nywsMGNkfgqXTtCwlWrX/6nQtZ OKLjX9rlMWYITYmsZsGv/wrSszXI5JSQVVQBms+xmCiD/it59urU7jXHlaR+m3PJzdFT U1ilDgQryd/e1N0qHAAFPgJSbEN4YL4WD8YUcqS+dL5A5t+0Zy/YOMLakRCpHazoR9BF KRFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :in-reply-to:from:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=bI8Rkw8VYhP6ElpRPvYBxmnt/vOhfFyD8CJi294HeBw=; b=hhc/jbTyBDVUxnt6qc5cALqjzyHs8VgzDd4buZ/0Hf28NjtsoxyK3s7nofYd+/QA+t HHGDqplJWPGuIwZoTNvYj/qfG+dKB6LMykKm207/lgDfzrjKMh+OFIvAY0S5eadKjupm SLv8b2EYjq3cuMb5x15QnS1RRXGQzwZ1fHhQR27v44iTDjbxLNtDQuEGGgcw+N0QTO7p CDgcVcoClqzzNumsg90dumQsSL8ZX6r7Uo4lKQiuUWQET7ZCWXkqQU+TiGarnpMeqB3A 5RwcPsNJE9P61pbORfyqf0oINNDcommDDKdv4HEJuYmcXoR2xevpsqTdYtSerHukiKUs KKow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HoryqjTO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056a00170600b0050d5b68b53bsi14457697pfc.172.2022.05.02.02.03.03; Mon, 02 May 2022 02:03:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HoryqjTO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355336AbiD2H64 (ORCPT + 99 others); Fri, 29 Apr 2022 03:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355304AbiD2H6p (ORCPT ); Fri, 29 Apr 2022 03:58:45 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB343A190 for ; Fri, 29 Apr 2022 00:55:26 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20220429075523euoutp02ad13bc7dcd779526e26d8acd218b1753~qTtzWB4QH0502005020euoutp02D for ; Fri, 29 Apr 2022 07:55:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20220429075523euoutp02ad13bc7dcd779526e26d8acd218b1753~qTtzWB4QH0502005020euoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1651218923; bh=bI8Rkw8VYhP6ElpRPvYBxmnt/vOhfFyD8CJi294HeBw=; h=Date:Subject:To:CC:From:In-Reply-To:References:From; b=HoryqjTOG82NnqnnNj+3vhs/FX2Q5GjZ+wHNNCBoBQ+IDE0GpweNh8zskco917Hmn Ksh/uEnpMTVtmvTHZMzlxyoPAN/691uOnOrYYjYQRESFHzOdkYPrZM2dvhVeaQZKcb nay2N5cHbEGgWKEd26uPSMz7PdD0Jmg5LOnT6sW4= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20220429075523eucas1p256537cb0c8ef40f290f7fd4eaf86ac2c~qTtyzy38B2182821828eucas1p2D; Fri, 29 Apr 2022 07:55:23 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 58.9C.10260.BE99B626; Fri, 29 Apr 2022 08:55:23 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20220429075522eucas1p23cf6e8071f09d7120c1e7f478d7affb7~qTtyWBlWB0294802948eucas1p2h; Fri, 29 Apr 2022 07:55:22 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220429075522eusmtrp195fdb2491c8fe5ebf4b3338c61a748e2~qTtyUgZAB1327413274eusmtrp1p; Fri, 29 Apr 2022 07:55:22 +0000 (GMT) X-AuditID: cbfec7f5-bddff70000002814-71-626b99eb914c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7B.66.09404.AE99B626; Fri, 29 Apr 2022 08:55:22 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220429075522eusmtip22810b8b6a3a13d12d5b555bfcd6aeb24~qTtyKSmCb0091400914eusmtip27; Fri, 29 Apr 2022 07:55:22 +0000 (GMT) Received: from [192.168.8.130] (106.210.248.170) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 29 Apr 2022 08:55:19 +0100 Message-ID: <5927dc09-89ca-973a-2e24-99be696d4240@samsung.com> Date: Fri, 29 Apr 2022 09:55:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 12/16] zonefs: allow non power of 2 zoned devices Content-Language: en-US To: Damien Le Moal , , , , , , , , , CC: , , , , , , , , , , , , , , From: Pankaj Raghav In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [106.210.248.170] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0xTZxj2O+f0nEMX6gFc+MTpshqyzU0u0yVfhnEM0Jxk+7EsShhLplVO gLW0pIV5gcUSioZ7gcmgmpRdMrAMOkDLWAfRLlzkbqEKBOhgrRAIoEKXsdZulFMX/j3v8z3P +77Pm4/Gg+vJMDpdnsUp5RKZmBQSpp7N4cPLtdJzUT02Chn7e3DUOFNOouonmzgauD6Eocry Ggq5h0ZwNPp3HoZuNXZjyGHU4ajk7hMC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nO9u71TTvCw6/Rdb VZzbNrtIF+Wvea9Ybh1R/3DnTB1n5VqXM05JomGv9zZmSih0O8qt6fgUycHiaHjmbeRaHp8e vxNPGZauN78l0xa78equlZu6raSMtm7ZtveNC++qLP15mfOcNr918HtwJWzlvaC7C66vvlFt bcHOtZ/nXzwfz3/G6NshvR53bJVYijMSDbWYi4oTARtV/pXvAwAA X-CMS-MailID: 20220429075522eucas1p23cf6e8071f09d7120c1e7f478d7affb7 X-Msg-Generator: CA X-RootMTR: 20220427160309eucas1p2f677c8db581616f994473f17c4a5bd44 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20220427160309eucas1p2f677c8db581616f994473f17c4a5bd44 References: <20220427160255.300418-1-p.raghav@samsung.com> <20220427160255.300418-13-p.raghav@samsung.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS 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 Hi Damien, On 2022-04-28 23:49, Damien Le Moal wrote: > This is still not convincing given the code I saw. Additional test cases > need to be added with data verification & concurrent regular writes also > sent while doing copy to verify locking. > > Which also reminds me that I have not seen any change to mq-deadline zone > write locking for this series. What is the assumption ? That users should > not be issuing writes when a copy is on-going ? What a bout the reverse > case ? at the very least, it seems that blk_issue_copy() should be taking > the zone write lock. > I think you posted this comment in this thread instead of posting it in the copy offload thread. >> I will make sure to add my private tree for zonefs in my cover letter in >> the next rev. But even without that change, a typical emulated npo2 >> device should work fine because the changes are applicable only for >> "runt" zones. > >