Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Remove unneeded vinvalbuf() on backing store as we d...
details: https://anonhg.NetBSD.org/src/rev/9b801808214b
branches: trunk
changeset: 748219:9b801808214b
user: hannken <hannken%NetBSD.org@localhost>
date: Sat Oct 17 10:29:29 2009 +0000
description:
Remove unneeded vinvalbuf() on backing store as we don't use
VOP_BMAP()/VOP_STRATEGY() here.
diffstat:
sys/dev/fss.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 0de74eef8a3b -r 9b801808214b sys/dev/fss.c
--- a/sys/dev/fss.c Sat Oct 17 08:50:49 2009 +0000
+++ b/sys/dev/fss.c Sat Oct 17 10:29:29 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.64 2009/10/13 12:37:19 hannken Exp $ */
+/* $NetBSD: fss.c,v 1.65 2009/10/17 10:29:29 hannken Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.64 2009/10/13 12:37:19 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.65 2009/10/17 10:29:29 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -705,14 +705,6 @@
sc->sc_bs_bmask = FSS_FSBSIZE(sc)-1;
}
- /*
- * As all IO to from/to the backing store goes through
- * VOP_STRATEGY() clean the buffer cache to prevent
- * cache incoherencies.
- */
- if ((error = vinvalbuf(sc->sc_bs_vp, V_SAVE, l->l_cred, l, 0, 0)) != 0)
- return error;
-
return 0;
}
Home |
Main Index |
Thread Index |
Old Index