Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4811691ioa; Wed, 27 Apr 2022 11:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbso2wk3W71FaJlAgs3obsD6d3QWW8Xq8m3CGX1i4OlIFmfwLaltdXD9xglUxSk4MSgHId X-Received: by 2002:a63:5b53:0:b0:39c:c6b8:d53b with SMTP id l19-20020a635b53000000b0039cc6b8d53bmr24678620pgm.166.1651084687509; Wed, 27 Apr 2022 11:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651084687; cv=none; d=google.com; s=arc-20160816; b=x0K3abNgvu8uCTsmJK1doajN1RKGXjbpc8l2E3Qw0lWqgF5CttFSuk/ckHAoImhSw+ 7pZj7HAEp7jj198P2A3Wsja0FtZhqT7JU/AW3yY2SgPyxVhhdDCvHg8UN10nQ2ibbV4R z1+RCmw/jmTvy/gpExUzxj58a2pFhJi3fwxgNY24b5WvCG8sgOwiT9b1252oKbdqzQ8p CqS+nTPMcqpTTsswJvRybq5yqCP00JWAvFz4nNbzOiZLQViScKA4ldD4Uhj7jS0WLo1W z33KVrSc8QbbklOGr8I3L2WwUHdV7U7ih1IruRr6ohUe6oUvt7t10EBRaD6SkuRrGVR8 KuzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:user-agent :in-reply-to:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=y5OS7C3x4USZWkOHB+8ofntVAXK7uEdgUcFhqganpFk=; b=aPya8uAQLPXhpvZpL08OJ105jciJDh0abWWqGIBBd83RGDlDK00QYUUVKULM4RmaXB T+JKxABUKasJ0hMRtxqIg+74XKgHwP5VfEW8oMNNMzMo4MijL90iUKiOm2IWdIEFg2Ee k2A8VnT6nJCtJSaBCXqRIAO9u2Dt/2n0v/XgsfgpmnzxY6VHZ9D7hs4pJfIZGyKjzSzM HIe3ksEfwpqwjn5w2GZdmlRqfjlbN7LjQzHAq47xavGU42Z9RM4uXX6D216I057wsfSV jRxDt3yY1TngU+OQdVMb7WyZw6va5p0/3h+VZmj02WNm7UQjybN8yzYL6s5hh8G6iwwN Xzfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=R8asHsPp; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j3-20020a17090a734300b001d28bc0e241si6003389pjs.38.2022.04.27.11.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 11:38:07 -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=@samsung.com header.s=mail20170921 header.b=R8asHsPp; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A2BD8532EE; Wed, 27 Apr 2022 11:09:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244663AbiD0SM1 (ORCPT + 99 others); Wed, 27 Apr 2022 14:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244630AbiD0SMT (ORCPT ); Wed, 27 Apr 2022 14:12:19 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 136DB5A59F for ; Wed, 27 Apr 2022 11:09:03 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220427180858epoutp04bf920c2bbdd5166948c4961da6722115~p0y9F_wVg2386823868epoutp042 for ; Wed, 27 Apr 2022 18:08:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220427180858epoutp04bf920c2bbdd5166948c4961da6722115~p0y9F_wVg2386823868epoutp042 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1651082938; bh=y5OS7C3x4USZWkOHB+8ofntVAXK7uEdgUcFhqganpFk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=R8asHsPppiqdSNVTGyqE6JkdA3kfOs02eyF/ijaLLwIS9NRrripLZxPjCivOk0r7b hsSTjb7o7I0fJbDWr1kM61tgTa+NDfMX2kECOH+CRdOKPqyLRhlUMQvPpXbwW1voiE 7pURtAOwqy0fn3Lu+uWJiXNJI72fldfEl1VryuTI= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20220427180857epcas5p49214c5b087f6a3abc404d9e61d699270~p0y7zEIdM3093730937epcas5p4-; Wed, 27 Apr 2022 18:08:57 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.175]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4KpRZs2w2mz4x9Pq; Wed, 27 Apr 2022 18:08:53 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CB.2C.10063.5B689626; Thu, 28 Apr 2022 03:08:53 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220427154335epcas5p2decfa46fd054003fe354919a6ccc8bb5~py0BFdT5t1292212922epcas5p2s; Wed, 27 Apr 2022 15:43:35 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220427154335epsmtrp1836aaec6d9081312a54cf44cfab35bf7~py0BEoafL2542225422epsmtrp1t; Wed, 27 Apr 2022 15:43:35 +0000 (GMT) X-AuditID: b6c32a49-4b5ff7000000274f-7e-626986b5bcd4 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id B8.AA.08924.7A469626; Thu, 28 Apr 2022 00:43:35 +0900 (KST) Received: from test-zns (unknown [107.110.206.5]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220427154333epsmtip1c2203c795e44edd393049c9924cd6740~pyz-zoaVP2609826098epsmtip1D; Wed, 27 Apr 2022 15:43:33 +0000 (GMT) Date: Wed, 27 Apr 2022 21:08:26 +0530 From: Nitesh Shetty To: Damien Le Moal 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 Subject: Re: [PATCH v4 00/10] Add Copy offload support Message-ID: <20220427153826.GE9558@test-zns> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFJsWRmVeSWpSXmKPExsWy7bCmpu7Wtswkg77pgha/z55nttj7bjar xd5b2hZ79p5ksbi8aw6bxfxlT9ktuq/vYLPY8aSR0YHDY+esu+wem5fUe+xsvc/q8X7fVTaP z5vkAlijsm0yUhNTUosUUvOS81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJz gC5RUihLzCkFCgUkFhcr6dvZFOWXlqQqZOQXl9gqpRak5B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iwiYv2mFj5qNI3mkL0EyMW--LFKYa8svGKq9OOQ6W=_17deb_" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220426101804epcas5p4a0a325d3ce89e868e4924bbdeeba6d15 References: <20220426101241.30100-1-nj.shetty@samsung.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE 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 ------SFNbypxiwiYv2mFj5qNI3mkL0EyMW--LFKYa8svGKq9OOQ6W=_17deb_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline 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 – > > > > 1. Driver > > - NVMe Copy command (single NS), including support in nvme-target (for > > 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. Limited > > testing is done at this point using a custom application for unit testing. > > https://protect2.fireeye.com/v1/url?k=b14bf8e1-d0361099-b14a73ae-74fe485fffb1-9bd9bbb269af18f9&q=1&e=b9714c29-ea22-4fa5-8a2a-eeb42ca4bdc1&u=https%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 documenting > this. I will update it. > Thank you. We will try to use this. Any plans to integrate this testsuite with fstests(xfstest) ? -- Nitesh Shetty ------SFNbypxiwiYv2mFj5qNI3mkL0EyMW--LFKYa8svGKq9OOQ6W=_17deb_ Content-Type: text/plain; charset="utf-8" ------SFNbypxiwiYv2mFj5qNI3mkL0EyMW--LFKYa8svGKq9OOQ6W=_17deb_--