Re: Attempt at "stat light" implementation

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

 



Andreas Dilger wrote:
On Apr 07, 2009  13:56 -0400, Oleg Drokin wrote:
On Apr 7, 2009, at 1:49 PM, Christoph Hellwig wrote:
I think the best way to do it is to just define additional flags for *statat family, that if present only request partial stat information.
But having to open every dir (or take an extra intermediate lookup hit)
might be a bad thing at times unless we officially allow to use a "magic" > "AT_FDCWD". What's your opinion on this?

Generally, any application doing tree traversal will have the parent
directory open doing readdir() or getdents() so I don't think that is
a huge problem.

And if that application does not have a directory open, it is vulnerable to races...

	Jeff




--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux