cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c
    Alfred Perlstein 
    alfred at freebsd.org
       
    Fri Jul  9 14:43:57 PDT 2004
    
    
  
* Dag-Erling Smorgrav <des at FreeBSD.org> [040709 04:43] wrote:
> des         2004-07-09 11:43:37 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/fs/pseudofs      pseudofs_vnops.c 
>   Log:
>   Accumulate directory entries in a fixed-length sbuf, and uiomove them in
>   one go before returning.  This avoids calling uiomove() while holding
>   allproc_lock.
>   
>   Don't adjust uio->uio_offset manually, uiomove() does that for us.
>   
>   Don't drop allproc_lock before calling panic().
I would suggest dropping it.  (but I may be wrong).
>   Suggested by:   alfred
thanks! :)
Also, the routines for inode allocation in psuedofs are very useful,
is there some way I can convince you to make them available as a
resource for other synthetic filesystems?
Perhaps split it out into another module that psuedofs can depend on
so that other fs's can use them?
thank you,
-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684
    
    
More information about the cvs-all
mailing list