lkml.org 
[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -V19 00/15] Generic name to handle and open by handle syscalls
Date
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


\
 
 \ /
  Last update: 2010-09-17 19:43    [W:0.057 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site