Subject: Re: file id alignment
To: None <martin@duskware.de>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 07/12/2006 07:56:18
> Ok, I fixed the few obvious bugs that I left in as an exercise to the
> reader and would be ready to commit the result after some more tests
> tomorrow.
please make sure it doesn't change on-wire filehandle.
> While playing wiht this I noticed that we do a *lot* calls to vfs_composefh()
> in kernels with NFS server support:
>
> sys_read -> dofileread -> vn_read -> VOP_LEASE() -> genfs_lease_check()
> -> nqsrv_getlease() -> vfs_composefh()
>
> This sounds pretty expensive, is it a bug, or is it realy needed?
maybe we can optimize "not exported" case.
YAMAMOTO Takashi