Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4981079ioa; Wed, 27 Apr 2022 16:00:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5kLntvMbXCFXszG/EoerWssd4rwf54UXJSRGayqlyc4HenmbPn/d3Q0l5QQPhmhBhK3C8 X-Received: by 2002:a05:6402:40c1:b0:423:f451:bb48 with SMTP id z1-20020a05640240c100b00423f451bb48mr33455155edb.95.1651100458760; Wed, 27 Apr 2022 16:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651100458; cv=none; d=google.com; s=arc-20160816; b=Yizi9R7F8y2pz6aMJXk8f/K7VWd7MrxKDF5Kn7Fj+tX3UUaruFTC5JdgN2UZTELB0I PaYla8Krdn3Rg2Ip5RIkTOdgGhYD9YVtoD5WVN5vOUGUtNOUoCg3FyIKQTZRtotddY7v MM/F6ndaRzyW1qpseXyQwwZCp1Mbgr3twegip97YTEqsKsKtpa3jlikOtxcJ7stdrFMO bhfHxUELn4zzrk2xugYD/GgnqkxIVsZ1umYYCdbB9SKKU+fG0jyVQSNCArSMkYncdhr8 /MJqhURGlrv9z3PkD114eNp5vCZ6Hq4XriHR/Irl6Ke/tXNX4qU7hX2gJfaRnRDdSm93 DmKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature :wdcironportexception:ironport-sdr:ironport-sdr:dkim-signature; bh=pnxFN7k04CTWSREtHTBvavOqXLmX9IQXMn7DH8JdIEE=; b=b8mVQ4jA0O63o6ewlLviXYJ+y8RkKZ22/ZFZpzmp9N+HwVCYqg7yjpmkfszsnoZCEw 3nJU4Uuq8kDCVE/scjJV2iBxx6LKi1VOr16ubvztRrNBBEoITl2dYzcLWlP3ikvTSzLt WZwarmRPSkOe74Nu2gyqpCPIxbeRr006Yw6FWRxxR8XsET8fy+f7y0LBrfEL1p4YF35t ef3rghq25VKoTTWrzL6HCAhOOx4WBs6zfoGYwt9Vbhfo6U1bju3Lgq95eBKxemlMNO72 2PTHeZMr6Lp8601QLH/m3ylFpULBNFvwQ9C2De/GBlPc7IWOy7MiIx0A5zsJEbBYlcaW qEmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=ZJTOTDv+; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=e3SQWIC7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=opensource.wdc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170906308500b006e8926d3946si2290543ejv.788.2022.04.27.16.00.34; Wed, 27 Apr 2022 16:00:58 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=ZJTOTDv+; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=e3SQWIC7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=opensource.wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236078AbiD0V71 (ORCPT + 99 others); Wed, 27 Apr 2022 17:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234882AbiD0V70 (ORCPT ); Wed, 27 Apr 2022 17:59:26 -0400 Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F2511138 for ; Wed, 27 Apr 2022 14:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1651096572; x=1682632572; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ndxlCJcsWNsxefRwlgceKJ0VvE3NnTsnasUGPtb8I/A=; b=ZJTOTDv+2TX7VHW6xB+oftVcXxiLh/pMny0mZR+lj+hIQuMMVcunp/CZ Kq85W/DBPIdWKmEeT0lou8NhP5jlUHtsMFOMzaKSf8LUAsQlsbJ2M1swF n9HBUPRkpz0BQmE0idBPsGVmzw6p/3jtz/6pumML6AR0mLuKparpQC+Zw WvNm/uajUslsCheTlLja/+g0Yt8BrS3t3ztS4IL/lGrP2f/beX7y6EBfI PRr+7mhuiSbSgeEl5WwK3XCjWx3j2yCwzjkIeoDsuLB5bhfaF7SAWH5NL MwzLv5HU+ufjluF+SvcAlAnC/RfdUKzvkOa7tS7CEhR6cm0soXOznwSzj w==; X-IronPort-AV: E=Sophos;i="5.90,294,1643644800"; d="scan'208";a="197838683" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2022 05:56:11 +0800 IronPort-SDR: e2MCKyc0Bfsi34lJ5+nAodCxusbv+ecOG7fJVmzZcWrDIukAWY//TNUaRyjESMIGxSdeKhm/b7 rVBw+haZu2Vk2aFdrDcDFkvjBtzmPWFx5NrUQidnPkDJV2nE+XJx6qzNMgUr2hrWgqCrOe/QK6 OE1q6jhZVMYIHuQPjHuEigaJo0/Gt02+AMigTqpvRdbHsQ2w6Md+mNYxZcxuBKkVSsDl6fsBHH h+pTyD2CHzKxnpgfxpiSThlYut6JLiYLHN6GqLjqeQSK0v41mJYWlPGUz0zye75wRk5ClmEgw7 VQ4QMOuFhE0zQM81rZcsqiWL Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Apr 2022 14:27:03 -0700 IronPort-SDR: 4xt9UeOVjW8bGrei9l8YUFBLuypmeNiP63iZI1xRmBdNyBdp20dagHFHtCXZWwgzE42xVKNqR8 LldHsQxMWlsqiFkWgsqlcEz+vTEaSZNoSKou9Bzr/j1vaG+lnk2KedXTlwJsx0XYhC34YhCyA/ H1YgqIIUeYXUTVMgLNI0/Fcfgp4o/S/WjJ1cPI94enWwgMwI4ciJLUN2MS4GA0HRwuR4MLA5W0 n07CRYCgqdTxCbKvcmlVLUeASsKIuiDb2loEuhnnX7AADrshlgb5kuu1yfJqlA8kigNOt5rLu7 SrU= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Apr 2022 14:56:12 -0700 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4KpXd65BZsz1Rwrw for ; Wed, 27 Apr 2022 14:56:10 -0700 (PDT) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1651096569; x=1653688570; bh=ndxlCJcsWNsxefRwlgceKJ0VvE3NnTsnasU GPtb8I/A=; b=e3SQWIC7isONhMVABcQXbRoKsYP01AGBbkTTjAVX/tATNA9akqV o0SzlNWttcnvWNegaIDqsgtVaRN7EVxQ3KYkcm+l9jYgyZmBuBYBE4JaxLs2gHlp W1W8Mvuy7yp4sC9d1mSOqpu2vkVNAa4MzcfMRY1QziIs9+dyJcsECcIpZDlx7FnA sLmbmraKN3ndEuoI8banOkqH+BI0AIeOKJ0Jrr31eP4b5BaP469/vPWfa5e+E+C4 3D/ZgYZzzLxhG1LuI1msi7Jn0cK1sHIIimzpgNd8UB6ilKxM3M2xEHUkmkK7FsyN iTtpZ7+j79y0W+8DaWFHsJGQlJCaD693HFw== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vMIHHrdYSV4R for ; Wed, 27 Apr 2022 14:56:09 -0700 (PDT) Received: from [10.225.163.27] (unknown [10.225.163.27]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4KpXd44RlGz1Rvlc; Wed, 27 Apr 2022 14:56:08 -0700 (PDT) Message-ID: <3f80a126-e52a-955b-aca4-14218d26faf5@opensource.wdc.com> Date: Thu, 28 Apr 2022 06:56:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4 00/10] Add Copy offload support Content-Language: en-US To: Nitesh Shetty Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, dm-devel@redhat.com, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, nitheshshetty@gmail.com, linux-kernel@vger.kernel.org References: <20220426101241.30100-1-nj.shetty@samsung.com> <20220427153826.GE9558@test-zns> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20220427153826.GE9558@test-zns> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 On 4/28/22 00:38, Nitesh Shetty wrote: > On Wed, Apr 27, 2022 at 10:46:32AM +0900, Damien Le Moal wrote: >> On 4/26/22 19:12, Nitesh Shetty wrote: >>> The patch series covers the points discussed in November 2021 virtual= call >>> [LSF/MM/BFP TOPIC] Storage: Copy Offload[0]. >>> We have covered the Initial agreed requirements in this patchset. >>> Patchset borrows Mikulas's token based approach for 2 bdev >>> implementation. >>> >>> Overall series supports =E2=80=93 >>> >>> 1. Driver >>> - NVMe Copy command (single NS), including support in nvme-target (fo= r >>> block and file backend) >>> >>> 2. Block layer >>> - Block-generic copy (REQ_COPY flag), with interface accommodating >>> two block-devs, and multi-source/destination interface >>> - Emulation, when offload is natively absent >>> - dm-linear support (for cases not requiring split) >>> >>> 3. User-interface >>> - new ioctl >>> - copy_file_range for zonefs >>> >>> 4. In-kernel user >>> - dm-kcopyd >>> - copy_file_range in zonefs >>> >>> For zonefs copy_file_range - Seems we cannot levearge fstest here. Li= mited >>> testing is done at this point using a custom application for unit tes= ting. >> >> https://protect2.fireeye.com/v1/url?k=3Db14bf8e1-d0361099-b14a73ae-74f= e485fffb1-9bd9bbb269af18f9&q=3D1&e=3Db9714c29-ea22-4fa5-8a2a-eeb42ca4bdc1= &u=3Dhttps%3A%2F%2Fgithub.com%2Fwesterndigitalcorporation%2Fzonefs-tools >> >> ./configure --with-tests >> make >> sudo make install >> >> Then run tests/zonefs-tests.sh >> >> Adding test case is simple. Just add script files under tests/scripts >> >> I just realized that the README file of this project is not documentin= g >> this. I will update it. >> >=20 > Thank you. We will try to use this. > Any plans to integrate this testsuite with fstests(xfstest) ? No. It is not a good fit since zonefs cannot pass most of the generic tes= t cases. >=20 > -- > Nitesh Shetty >=20 >=20 --=20 Damien Le Moal Western Digital Research