[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DBE0F9.7000207@garzik.org>
Date: Tue, 07 Apr 2009 19:25:45 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Oleg Drokin <green@...uxhacker.ru>
CC: linux-fsdevel@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] VFS "stat light" out of fstatat, and fine grained
flags
Oleg Drokin wrote:
> Hello!
>
> This is reworked Mark Fasheh's patch + my earlier patch.
> It allows one to specify which specific struct stat fields are needed
> out of the fstatat call, and also a request to obtain most uptodate
> information for inode (for NFS mostly).
>
> Also it adds AT_STAT_SELF flag to mean that the stat should be executed not
> on a path, but on the passed filedecriptor itself.
>
> A first real kernel user for this added in loop block driver that does
> not care about size or anything else besides rdev and inode number.
>
> I see various architectures replicate bits of vfs_*stat* in some compat
> code, I am not sure if we need to update those as well or not.
>
> This patch does away with all the extra syscalls.
linux-kernel should be included in the discussion of this syscall.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists