2009-04-07 23:25:59

by Jeff Garzik

[permalink] [raw]
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


2009-04-08 06:56:42

by Miklos Szeredi

[permalink] [raw]
Subject: forwarding -fsdevel to -kernel (was Re: [PATCH 1/3] VFS "stat ...) flags

On Tue, 07 Apr 2009, Jeff Garzik wrote:
> linux-kernel should be included in the discussion of this syscall.

Would it be possible to automatically forward all posts from -fsdevel,
and possibly other lists, to linux-kernel?

The rationale is that linux-kernel is a collection of all subtopics,
it's already CC-d on most threads.

Thanks,
Miklos

2009-04-08 07:36:15

by David Miller

[permalink] [raw]
Subject: Re: forwarding -fsdevel to -kernel (was Re: [PATCH 1/3] VFS "stat ...) flags

From: Miklos Szeredi <[email protected]>
Date: Wed, 08 Apr 2009 08:56:16 +0200

> On Tue, 07 Apr 2009, Jeff Garzik wrote:
>> linux-kernel should be included in the discussion of this syscall.
>
> Would it be possible to automatically forward all posts from -fsdevel,
> and possibly other lists, to linux-kernel?
>
> The rationale is that linux-kernel is a collection of all subtopics,
> it's already CC-d on most threads.

No.