Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern mnt_fs_bshift is the filesystem block size, not the...
details: https://anonhg.NetBSD.org/src/rev/351e0b278b57
branches: trunk
changeset: 752463:351e0b278b57
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Fri Feb 26 22:24:07 2010 +0000
description:
mnt_fs_bshift is the filesystem block size, not the fragment size.
Revert to physical block size. This is fine as long as filesystem
and log stay on a similar physical medium.
diffstat:
sys/kern/vfs_wapbl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 224cf25ad4e0 -r 351e0b278b57 sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Fri Feb 26 21:52:22 2010 +0000
+++ b/sys/kern/vfs_wapbl.c Fri Feb 26 22:24:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_wapbl.c,v 1.31 2010/02/23 20:51:25 mlelstv Exp $ */
+/* $NetBSD: vfs_wapbl.c,v 1.32 2010/02/26 22:24:07 mlelstv Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.31 2010/02/23 20:51:25 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.32 2010/02/26 22:24:07 mlelstv Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@@ -319,7 +319,7 @@
daddr_t logpbn;
int error;
int log_dev_bshift = ilog2(blksize);
- int fs_dev_bshift = mp->mnt_fs_bshift; /* XXX */
+ int fs_dev_bshift = log_dev_bshift;
int run;
WAPBL_PRINTF(WAPBL_PRINT_OPEN, ("wapbl_start: vp=%p off=%" PRId64
Home |
Main Index |
Thread Index |
Old Index