Module Name: src Committed By: pooka Date: Mon Apr 12 21:37:44 UTC 2010
Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: Report f_iosize as 512. Some callers want it, and we can only guess a safe default here (because of etfs). To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/rump/librump/rumpvfs/rumpfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpvfs/rumpfs.c diff -u src/sys/rump/librump/rumpvfs/rumpfs.c:1.37 src/sys/rump/librump/rumpvfs/rumpfs.c:1.38 --- src/sys/rump/librump/rumpvfs/rumpfs.c:1.37 Mon Mar 1 13:03:30 2010 +++ src/sys/rump/librump/rumpvfs/rumpfs.c Mon Apr 12 21:37:44 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $ */ +/* $NetBSD: rumpfs.c,v 1.38 2010/04/12 21:37:44 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.38 2010/04/12 21:37:44 pooka Exp $"); #include <sys/param.h> #include <sys/atomic.h> @@ -893,6 +893,7 @@ mp->mnt_data = rfsmp; mp->mnt_stat.f_namemax = MAXNAMLEN; + mp->mnt_stat.f_iosize = 512; mp->mnt_flag |= MNT_LOCAL; vfs_getnewfsid(mp);