[PATCH] Reparsing on mountpoint boundary crossing

Jacob Holtom jacob at et.byu.edu
Fri Aug 25 17:15:31 UTC 2017


On 08/25/2017 02:04, Stefan Metzmacher via samba-technical wrote:
> Hello Jacob,
>
>> This patch is our attempt to implement reparsing when crossing
>> filesystem boundaries, using the IO_REPARSE_TAG_MOUNT_POINT as specified
>> by Microsoft.  It appears to work well, except for something that looks
>> like a client side caching issue of the returned file modes.  Comments
> I'm wondering if this should only apply to directories
> and also only is the device of the parent directory doesn't match the
> directory.
>
> If you have something like this:
>
>   /data/share1/dir1/mount1/dir2/mount2/dir3
>
> I guess only
> /data/share1/dir1/mount1 and
> /data/share1/dir1/mount1/dir2/mount2
> should be reported reparse points.
>
> metze
>
Hello Stefan,

It would make sense to only apply to directories.
And yes, that is how it should work according to my understanding as 
well, however I lack the insight into the SAMBA code base to have an 
idea on how to cleanly implement that transition.  I would appreciate 
any ideas you or others may have on how to get there.

Thanks!
Jacob Holtom



More information about the samba-technical mailing list