Lease keys and hardlinked files

Steve French smfrench at gmail.com
Fri Dec 8 21:36:03 UTC 2023


On Fri, Dec 8, 2023 at 1:07 PM Paulo Alcantara <pc at manguebit.com> wrote:
>
> Tom Talpey <tom at talpey.com> writes:
>
> > On 12/8/2023 12:01 PM, Steve French wrote:
> >> Following up on a question about hardlinks and caching data remotely,
> >> I tried a simple experiment:
> >>
> >> 1) ln /mnt/hardlink1 /mnt/hardlink2
> >>     then
> >> 2) echo "some data" >> /mnt/hardlink1
> >>     then
> >> 3) echo "more stuff" >> /mnt/hardlink2
> >>
> >> I see the second open (ie the one to hardlink2) fail with
> >> STATUS_INVALID_PARAMETER, presumably due to the lease key being reused
> >> for the second open (for hardlink2) came from the first open (of
> >
> > Ok, so that is a client bug.
>
> I guess Steve forgot to mention that the above only happens with the
> patch applied.

This fails for me with mainline (I hadn't tried it with her patches), so yes
this appears to be a different client bug

-- 
Thanks,

Steve



More information about the samba-technical mailing list