Loading ifs/include/global/configure.hpp +0 −2 Original line number Diff line number Diff line Loading @@ -9,8 +9,6 @@ // Daemon path to auxiliary files #define DAEMON_AUX_PATH "/tmp" // XXX Should blocksize and chunksize be merged? #define BLOCKSIZE 524288 // in bytes 512KB #define CHUNKSIZE 524288 // in bytes 512KB // What metadata is used TODO this has to be parametrized or put into a configuration file Loading ifs/src/preload/preload_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ int metadata_to_stat(const std::string& path, const Metadata& md, struct stat& a attr.st_uid = CTX->fs_conf()->uid; attr.st_gid = CTX->fs_conf()->gid; attr.st_rdev = 0; attr.st_blksize = BLOCKSIZE; attr.st_blksize = CHUNKSIZE; attr.st_blocks = 0; memset(&attr.st_atim, 0, sizeof(timespec)); Loading Loading
ifs/include/global/configure.hpp +0 −2 Original line number Diff line number Diff line Loading @@ -9,8 +9,6 @@ // Daemon path to auxiliary files #define DAEMON_AUX_PATH "/tmp" // XXX Should blocksize and chunksize be merged? #define BLOCKSIZE 524288 // in bytes 512KB #define CHUNKSIZE 524288 // in bytes 512KB // What metadata is used TODO this has to be parametrized or put into a configuration file Loading
ifs/src/preload/preload_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ int metadata_to_stat(const std::string& path, const Metadata& md, struct stat& a attr.st_uid = CTX->fs_conf()->uid; attr.st_gid = CTX->fs_conf()->gid; attr.st_rdev = 0; attr.st_blksize = BLOCKSIZE; attr.st_blksize = CHUNKSIZE; attr.st_blocks = 0; memset(&attr.st_atim, 0, sizeof(timespec)); Loading