Author: adrian.chadd
Date: Tue May 5 08:29:14 2009
New Revision: 14040
Modified:
branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c
Log:
Continue documenting what is going on in the AUFS code.
Modified: branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c
==============================================================================
--- branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c (original)
+++ branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c Tue May 5 08:29:14
2009
@@ -267,6 +267,19 @@
}
}
+/*!
+ * @function
+ * storeAufsDirWriteCleanDone
+ * @abstract
+ * Complete the "clean" log file process.
+ * @discussion
+ * This function finalises the clean log file service done at
+ * shutdown and rotation. The final buffered objects are
+ * written; the file is closed; the store walker is finalised
+ * and various buffers are freed, including the "clean_state".
+ *
+ * @param sd SwapDir
+ */
void
storeAufsDirWriteCleanDone(SwapDir * sd)
{
@@ -321,6 +334,19 @@
sd->log.clean.write = NULL;
}
+/*!
+ * @function
+ * storeAufsDirSwapLog
+ * @abstract
+ * Write the given store entry + operation to the currently open swaplog
+ * @discussion
+ * The file_write() sync disk API is used so write combining is done;
+ * however the disk IO happens synchronously.
+ *
+ * @param sd SwapDir to write the log entry for
+ * @param e StoreEntry to write the swaplog entry for
+ * @param op Operation - ADD or DEL
+ */
void
storeAufsDirSwapLog(const SwapDir * sd, const StoreEntry * e, int op)
{
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---