[PATCH] idl: define FSCTL_DUPLICATE_EXTENTS_TO_FILE

Tom Talpey ttalpey at microsoft.com
Wed Feb 11 06:58:21 MST 2015


> -----Original Message-----
> From: samba-technical-bounces at lists.samba.org [mailto:samba-technical-
> bounces at lists.samba.org] On Behalf Of David Disseldorp
> Sent: Tuesday, February 10, 2015 8:17 AM
> To: Jeremy Allison
> Cc: samba-technical at lists.samba.org
> Subject: Re: [PATCH] idl: define FSCTL_DUPLICATE_EXTENTS_TO_FILE
> 
> On Mon, 9 Feb 2015 16:00:51 -0800, Jeremy Allison wrote:
> 
> > > It should be accessible from:
> > > http://download.microsoft.com/download/C/6/C/C6C3C6F1-E84A-44EF-
> 82A9-49BD3AAD8F58/Windows/%5BMS-FSCC-Diff%5D.pdf
> > >
> > > Thanks for the review!
> >
> > Sorry, looking at this and the thing
> > that I don't get is the:
> >
> >  uint8 source_handle[8];
> >
> > that doesn't seem like a handle
> > to me, or am I mixing stuff up ?
> >
> > I don't see the on the wire definitions
> > of this new IOCTL in the FSCC doc,
> > only the algorithm description.
> 
> MS-FSCC-Diff section 2.3.7 defines the FSCTL_DUPLICATE_EXTENTS_TO_FILE
> request payload as having an eight-byte FileHandle field, so I just
> mapped that to an opaque array for now.
> I can't confirm what the field is, as I haven't seen this request on
> the wire between two Windows 10 hosts yet.

It's the volatile part of the fileid. As I mentioned in the other thread, the operation isn't handled as remote yet, and the SMB2 doc is incomplete. I would not expect the on-the-wire structure to change, but remember these documents are still in preview.

Tom.


More information about the samba-technical mailing list