Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: David Disseldorp <ddiss-l3A5Bk7waGM@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	samba-technical
	<samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org>,
	David Disseldorp <ddiss-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Subject: Re: New ioctl - FSCTL_DUPLICATE_EXTENTS_TO_FILE
Date: Tue, 10 Feb 2015 00:51:20 +0100	[thread overview]
Message-ID: <20150210005120.6936991d@plati.site> (raw)
In-Reply-To: <20150128192203.5dbb06ea-TzLh5lQYVSQb1SvskN2V4Q@public.gmane.org>

On Wed, 28 Jan 2015 19:22:03 +0100, David Disseldorp wrote:

> > "A new File System Control (FSCTL) has been added to support the new
> > FSCTL_DUPLICATE_EXTENTS_TO_FILE operation in [MS-FSA]."  
> 
> I haven't played with it yet, but from the [MS-FCC] 20150119 preview
> doc it looks very similar to copy-chunk, with a few small differences:
> - It's only supported on ReFS, which may indicate that it's implemented
>   using COW clones.

The [MS-FSA] draft can be found at:
http://download.microsoft.com/download/C/6/C/C6C3C6F1-E84A-44EF-82A9-49BD3AAD8F58/Windows/%5BMS-FSA-Diff%5D.pdf

It pretty much confirms that it's COW based:
"The purpose of this operation is to make it look like a copy of a
 region from the source stream to the target stream has occurred when
 in reality no data is actually copied. This operation modifies the
 target stream’s extent list such that, the same clusters are pointed
 to by both the source and target streams’ extent lists for the region
 being copied."

@Steve, it looks like the perfect candidate for cp --reflink mapping on
the client side.

Cheers, David

  parent reply	other threads:[~2015-02-09 23:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 18:23 New ioctl Steve French
2015-01-28 18:22 ` New ioctl - FSCTL_DUPLICATE_EXTENTS_TO_FILE David Disseldorp
     [not found]   ` <20150128192203.5dbb06ea-TzLh5lQYVSQb1SvskN2V4Q@public.gmane.org>
2015-02-09 23:51     ` David Disseldorp [this message]
     [not found]       ` <20150210005120.6936991d-k1XZOR0ctBLN0uC3ymp8PA@public.gmane.org>
2015-02-10  7:14         ` Steve French
     [not found]           ` <CAH2r5mv4qnMAS4T38C1OB8sWi6MHqcD2i2zv7KbbtUYuGg=vOw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-10 21:35             ` Tom Talpey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150210005120.6936991d@plati.site \
    --to=ddiss-l3a5bk7wagm@public.gmane.org \
    --cc=ddiss-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox