Messages in this thread | | | From | "Aneesh Kumar K. V" <> | Subject | Re: [PATCH -V19 00/15] Generic name to handle and open by handle syscalls | Date | Fri, 17 Sep 2010 23:10:15 +0530 |
| |
On Mon, 13 Sep 2010 08:01:18 +0200, Miklos Szeredi <miklos@szeredi.hu> 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
| |