Re: [PATCH -V19 00/15] Generic name to handle and open by handle syscalls

From: Aneesh Kumar K. V
Date: Fri Sep 17 2010 - 13:41:04 EST


On Mon, 13 Sep 2010 08:01:18 +0200, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> On Mon, 13 Sep 2010, Aneesh Kumar K. V wrote:
> > d) we can drop stat, chown and xattr syscall because they are introduced
> > specially for symlinks as we don't allow open on symlinks.
> > e) It would be nice to have handle based stat syscall to avoid two
> > syscall overhead for fetching file attributes when implementing a
> > file server, where fetching file attribute is a common operation.
>
> Syscall overhead is generally insignificant compared to other effects.
> The server can also cache open files for commonly used handles.
>

For some client/server file system an open would require communication to
the server where as we can get stat result based on the values
cached on the client if we support handle based stat.

-aneesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/