git: NFS - Fix BIO size panics

看板DFBSD_commit作者時間16年前 (2009/10/03 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Anfk9ak (DFBSD_commit)