Author: adrian.chadd
Date: Thu May 21 00:04:20 2009
New Revision: 14055
Modified:
branches/LUSCA_HEAD/src/fs/coss/store_log_coss.c
Log:
Comment what to do.
Modified: branches/LUSCA_HEAD/src/fs/coss/store_log_coss.c
==============================================================================
--- branches/LUSCA_HEAD/src/fs/coss/store_log_coss.c (original)
+++ branches/LUSCA_HEAD/src/fs/coss/store_log_coss.c Thu May 21 00:04:20
2009
@@ -40,6 +40,22 @@
#include "store_coss.h"
#include "store_log_coss.h"
+/*
+ * The COSS swaplog writing process will be identical to the
+ * normal UFS swaplog writing process. The difference is in the
+ * swaplog rotation - the COSS swaplog will be rotated once
+ * the "active" stripe reaches the end of the disk and starts
+ * over; and only two swaplog versions are kept.
+ *
+ * Rebuilding the cache is then as simple as reading the older
+ * swaplog and then the newer swaplog.
+ */
+
+/*
+ * The trick is figuring out how to do this all asynchronously
+ * (ie, non blocking) so that swaplog operations don't slow down
+ * the cache.
+ */
void
storeCossDirOpenSwapLog(SwapDir * sd)
{
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---