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

git: DragonFly_RELEASE_2_4 NFS - Fix BIO size panics


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

commit 91d4f22fdadc39c24db6782857a820bb2a89e4d3
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/91d4f22fdadc39c24db6782857a820bb2a89e4d3


-- 
DragonFly BSD source repository



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