added another disk cache flush algorithm to minimize readback when hashing pieces
This commit is contained in:
@@ -1845,7 +1845,8 @@ int main(int argc, char* argv[])
|
||||
out += esc("0");
|
||||
#endif
|
||||
char const* piece_state[4] = {"", " slow", " medium", " fast"};
|
||||
snprintf(str, sizeof(str), "]%s", piece_state[i->piece_state]);
|
||||
snprintf(str, sizeof(str), "] %2d%s ", cp ? cp->next_to_hash : -1
|
||||
, piece_state[i->piece_state]);
|
||||
out += str;
|
||||
if (cp)
|
||||
{
|
||||
|
Reference in New Issue
Block a user