DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: NFS - Fix BIO size panics


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Oct 2009 17:16:55 -0700 (PDT)

commit b672fc169da19f4fc264f567efbc13f1a349146d
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Oct 2 17:09:13 2009 -0700

    NFS - Fix BIO size panics
    
    * NFS calculates the BIO block size and stores it in mnt_stat.f_iosize.
      This field was getting overwritten with default values by STATFS
      being passing &mp->mnt_stat from the kernel.
    
      Conditionalize the field so it no longer gets overwritten, and also
      correct nm_rsize/nm_wsize tests to use the smaller of the two
      specifications for the BIO block size.
    
    * Fixes diskless NFS root mounts, and NFS mounts which use smaller
      blocksizes.
    
    Reported-by: Rumko <rumcic@gmail.com>, and others

Summary of changes:
 sys/vfs/nfs/nfs_vfsops.c |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b672fc169da19f4fc264f567efbc13f1a349146d


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]