[PATCHv10 0/9] write hints with nvme fdp, scsi streams
Christoph Hellwig
hch at lst.de
Wed Nov 27 19:24:04 PST 2024
On Wed, Nov 27, 2024 at 03:14:09PM -0500, Martin K. Petersen wrote:
> How do you copy a block range without offload? You perform a READ to
> read the data into memory. And once the READ completes, you do a WRITE
> of the data to the new location.
Yes. I.e. this is code that makes this pattern very clearm and for
which I'd love to be able to use copy offload when available:
http://git.infradead.org/?p=users/hch/xfs.git;a=blob;f=fs/xfs/xfs_zone_gc.c;h=ed8aa08b3c18d50afe79326e697d83e09542a9b6;hb=refs/heads/xfs-zoned#l820
More information about the Linux-nvme
mailing list