Improve shred throughput with adaptive chunksize #98

Merged
localhorst merged 10 commits from feature/adaptive-chunksize into master 2026-05-03 10:06:15 +02:00
Showing only changes of commit e017aeca0b - Show all commits
+2 -1
View File
@@ -229,7 +229,8 @@ int Shred::shredDrive(Drive* drive, int* ipSignalFd)
#endif
#ifndef DRYRUN
const char* cpDrivePath = drive->getPath().c_str();
string sDrivePath = drive->getPath();
const char *cpDrivePath = sDrivePath.c_str();
unsigned char ucKey[TFNG_KEY_SIZE];
#ifdef ADAPTIVE_CHUNK_SIZE