Re: Lease keys and hardlinked files

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

 



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.




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

  Powered by Linux