]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enhance reassignbuf(). When a buffer cannot be time-optimally inserted
authordillon <dillon@FreeBSD.org>
Wed, 5 Jan 2000 05:11:37 +0000 (05:11 +0000)
committerdillon <dillon@FreeBSD.org>
Wed, 5 Jan 2000 05:11:37 +0000 (05:11 +0000)
commitc6689c797daca2e96b0ccaf727e86ebf09e00e37
tree5cdfd2f2b906cb0407fd5a329f091623735a9701
parente112622878175672c0eaa5a87ccdf0e882ccc784
Enhance reassignbuf().  When a buffer cannot be time-optimally inserted
    into vnode dirtyblkhd we append it to the list instead of prepend it to
    the list in order to maintain a 'forward' locality of reference, which
    is arguably better then 'reverse'.  The original algorithm did things this
    way to but at a huge time cost.

    Enhance the append interlock for NFS writes to handle intr/soft mounts
    better.

    Fix the hysteresis for NFS async daemon I/O requests to reduce the
    number of unnecessary context switches.

    Modify handling of NFS mount options.  Any given user option that is
    too high now defaults to the kernel maximum for that option rather then
    the kernel default for that option.

Reviewed by:  Alfred Perlstein <bright@wintelcom.net>
sys/kern/vfs_export.c
sys/kern/vfs_subr.c
sys/nfs/nfs_bio.c
sys/nfs/nfs_node.c
sys/nfs/nfs_syscalls.c
sys/nfs/nfs_vfsops.c
sys/nfsclient/nfs_bio.c
sys/nfsclient/nfs_nfsiod.c
sys/nfsclient/nfs_node.c
sys/nfsclient/nfs_vfsops.c
sys/nfsserver/nfs_syscalls.c