Unix Technical Forum

double cache purges

This is a discussion on double cache purges within the mailing.openbsd.tech forums, part of the OpenBSD category; --> hi, currently all our filesystems that use the caching facility already purge the vnode on VOP_RECLAIM(), so there's no ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:23 AM
Pedro Martelletto
 
Posts: n/a
Default double cache purges

hi,

currently all our filesystems that use the caching facility already
purge the vnode on VOP_RECLAIM(), so there's no need for vclean() to
do it a second time.

-p.

Index: vfs_subr.c
================================================== =================
RCS file: /cvs/src/sys/kern/vfs_subr.c,v
retrieving revision 1.103
diff -u -r1.103 vfs_subr.c
--- vfs_subr.c 4 Aug 2004 20:36:27 -0000 1.103
+++ vfs_subr.c 4 Oct 2004 12:17:02 -0000
@@ -1072,7 +1072,6 @@

simple_unlock(&vp->v_interlock);
}
- cache_purge(vp);

/*
* Done with purge, notify sleepers of the grim news.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:52 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com