]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Renamed RockFile.h to RockDbCell.h to better match content. Polished docs.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 10 Sep 2011 16:38:36 +0000 (10:38 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sat, 10 Sep 2011 16:38:36 +0000 (10:38 -0600)
src/fs/Makefile.am
src/fs/rock/RockDbCell.h [moved from src/fs/rock/RockFile.h with 77% similarity]
src/fs/rock/RockRebuild.cc
src/fs/rock/RockSwapDir.h

index d291e006eade8710dd9e3ebb2197d13fcf74feef..679873f25c35a9801d4410fa3bfa42542fac71bc 100644 (file)
@@ -29,7 +29,7 @@ libufs_la_SOURCES = \
        ufs/ufscommon.h 
 
 librock_la_SOURCES = \
-       rock/RockFile.h \
+       rock/RockDbCell.h \
        rock/RockIoState.cc \
        rock/RockIoState.h \
        rock/RockIoRequests.cc \
similarity index 77%
rename from src/fs/rock/RockFile.h
rename to src/fs/rock/RockDbCell.h
index 0f8dfac1ebeb5a0a1b5cc71105fee494161e13a9..a644a8f080786243e424cd4b5c4e28aa45461c54 100644 (file)
@@ -1,13 +1,13 @@
 #ifndef SQUID_FS_ROCK_DB_CELL_H
 #define SQUID_FS_ROCK_DB_CELL_H
 
-// XXX: rename to fs/rock/RockDbCell.{cc,h}
-
 namespace Rock
 {
 
-/// \ingroup Rock
-/// meta-information at the beginning of every db cell
+/** \ingroup Rock
+ * Meta-information at the beginning of every db cell.
+ * Stored on disk and used as sizeof() argument so it must remain POD.
+ */
 class DbCellHeader
 {
 public:
index c0f43ba75f19e82bc491bf6253963066dfaae03a..4977a9da6a5eb3bd8495546a5cb0586da99a3052 100644 (file)
@@ -7,7 +7,7 @@
 #include "config.h"
 #include "fs/rock/RockRebuild.h"
 #include "fs/rock/RockSwapDir.h"
-#include "fs/rock/RockFile.h"
+#include "fs/rock/RockDbCell.h"
 #include "SquidTime.h"
 
 CBDATA_NAMESPACED_CLASS_INIT(Rock, Rebuild);
index 00659d5b0c04cf49ab88a888c4348d13c5cc2186..4efb619ef43d91ab2776be9d757d15748d4f7104 100644 (file)
@@ -4,7 +4,7 @@
 #include "SwapDir.h"
 #include "DiskIO/DiskFile.h"
 #include "DiskIO/IORequestor.h"
-#include "fs/rock/RockFile.h"
+#include "fs/rock/RockDbCell.h"
 #include "ipc/StoreMap.h"
 
 class DiskIOStrategy;