[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220427153826.GE9558@test-zns>
Date: Wed, 27 Apr 2022 21:08:26 +0530
From: Nitesh Shetty <nj.shetty@...sung.com>
To: Damien Le Moal <damien.lemoal@...nsource.wdc.com>
Cc: linux-block@...r.kernel.org, linux-scsi@...r.kernel.org,
dm-devel@...hat.com, linux-nvme@...ts.infradead.org,
linux-fsdevel@...r.kernel.org, nitheshshetty@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 00/10] Add Copy offload support
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
Powered by blists - more mailing lists