Author: adrian.chadd
Date: Sun Jul 19 23:13:10 2009
New Revision: 14215
Modified:
playpen/LUSCA_HEAD_storework/src/fs/coss/store_rebuild_coss.c
Log:
Reintroduce the private object check.
Modified: playpen/LUSCA_HEAD_storework/src/fs/coss/store_rebuild_coss.c
==============================================================================
--- playpen/LUSCA_HEAD_storework/src/fs/coss/store_rebuild_coss.c
(original)
+++ playpen/LUSCA_HEAD_storework/src/fs/coss/store_rebuild_coss.c Sun Jul
19 23:13:10 2009
@@ -117,7 +117,15 @@
static void
storeCoss_ConsiderStoreEntry(RebuildState * rb, const cache_key * key,
storeSwapLogData * d)
{
+ SwapDir *sd = rb->sd;
StoreEntry *oe;
+
+ /* Is it Private? Don't bother */
+ if (EBIT_TEST(d->flags, KEY_PRIVATE)) {
+ debug(47, 3) ("COSS: %s: filen %x private key flag set,
ignoring.\n", stripePath(sd), d->swap_filen);
+ rb->counts.badflags++;
+ return;
+ }
/* Check for clashes */
oe = storeGet(key);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---