pkgsrc/net/nasd/patches/patch-ao
agc 4b619e493a Initial import of nasd-1.3, a prototype storage implementation, from CMU.
The original tar file has trailing base64 checksums, so I have
repackaged the tar file for just now.

	This is release 1.3 of the Parallel Data Laboratory NASD
	software prototype.  The release includes the NASD drive
	prototype, the NASD-NFS filemanager, simple client APIs, a
	regression-testing suite, sample programs, a snapshot of
	Cheops (which is one implementation of aggregation over
	multiple NASDs), and some basic documentation.
2005-05-04 08:56:49 +00:00

28 lines
1,001 B
Text

$NetBSD: patch-ao,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: drive/nasd_dirty.c
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/drive/nasd_dirty.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- drive/nasd_dirty.c 21 Mar 2005 08:52:02 -0000 1.1.1.1
+++ drive/nasd_dirty.c 21 Mar 2005 17:07:23 -0000 1.2
@@ -302,7 +302,7 @@
nasd_odc_dirty_cleaned_done();
}
if (ent->dirty_flags&NASD_CR_DIRTY_Q) {
- NASD_ODC_Q_DEQ_NOLOCK(ent,d);
+ NASD_ODC_Q_DEQ_NOLOCK(ent,dnext,dprev);
}
ent->dirty_flags &= ~(NASD_CR_DIRTY|NASD_CR_DIRTY_Q);;
@@ -625,7 +625,7 @@
next = ent->dnext;
if ((ent != node_ent) && (ent->node_ent != node_ent))
continue;
- NASD_ODC_Q_DEQ_NOLOCK(ent,d);
+ NASD_ODC_Q_DEQ_NOLOCK(ent,dnext,dprev);
nasd_odc_dirty_cur_global_flush->refcnt++;
nasd_odc_dirty_cur_global_flush->counter++;
ent->dt_flushcp = nasd_odc_dirty_cur_global_flush;