Re: linux 2.2, dentry cache question.

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 18, 2007 at 10:22:47AM +0200, Pawel wrote:
> Scenario B. "home" and "paul" dentries have been given back to dentry
> cache, /home/paul/p.txt is still opened and another process opens it.
> lookup_dentry recreates "home" and "kwap" dentries and puts them to
> dentry cache. It also creates another instance of "p.txt" dentry
> because it has no way to get the previous copy: every dentry is
> identified by parent dentry address and its name. Name did not change,
> but the parent dentry address changed. We have to instances of
> "p.txt", both of them are in dentry hash map, but only one of them has
> valid parent. It looks tricky for me, but maybe acceptable.

Parent isn't very useful. Think about a hardlinked file: what is its
parent?


Erik (my 2.2 knowledge is very stale)

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGJf4u/PlVHJtIto0RAhZJAJ93cYPWPA4MJqHaJaENpWkL9yqZ2gCeOzv5
2i4d5NX2fwIFrJqx6pvBIwU=
=V5RI
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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