Re: Lease keys and hardlinked files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 8, 2023 at 1:07 PM Paulo Alcantara <pc@xxxxxxxxxxxxx> wrote:
>
> Tom Talpey <tom@xxxxxxxxxx> 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





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux