Re: Attempt at "stat light" implementation

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

 



Hi Oleg.

On Tue, Apr 07, 2009 at 10:23:56AM +0400, Oleg Drokin (green@xxxxxxxxxxxxxx) wrote:
>   I quickly realized that perhaps we can use just one extra syscall for fstat, and stat/lstat could be
>   implemented as statat with just current cwd, though I do not know how desirable that is.
> 
>   Also I though that it would be kind of useful to allow the bitmask to be compatible with existing statat
>   flags usage so that we do not need a new statat.

What if instead you add single additional fsatat() flag and check
provided stat structure for the data user requested to get?
I.e. if i_size is not zero, than user wants to get it, the same applies
to all other fields.

-- 
	Evgeniy Polyakov
--
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