Re: What is negative lookup in linux filesystem

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

 



>From the context of the snippet you posted, it looks like the author
implies a "failed lookup" when s/he writes "negative lookup".

CMIIW.

-mandeep



On Mon, Oct 5, 2015 at 8:08 AM, Praveen Kumar <kpraveen.lkml@xxxxxxxxx> wrote:
> Hi,
>
> I am trying to understand the path-lookup in linux filesystem and was going
> through https://www.kernel.org/doc/Documentation/filesystems/path-lookup.txt
>
> Under 'Rename' heading, I came across the negative lookup terminology,
> snapshot below
>
> 'Between deleting the dentry from the old hash list, and inserting it on the
> new
> hash list, a lookup may find neither 'A' nor 'B' matching the dentry. The
> same
> rename seqlock is also used to cover this race in much the same way, by
> retrying a negative lookup result if a rename was in progress.'
>
> Can anyone please help understanding the negative lookup concept and how do
> we achieve it. Thanks in advance.
>
> Regards,
>
> ~Praveen.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux