deprecated compact storage allocation

This commit is contained in:
Arvid Norberg
2011-08-22 00:51:14 +00:00
parent a2e24faa01
commit 51ed06304e
8 changed files with 49 additions and 37 deletions

View File

@@ -1036,7 +1036,7 @@ int main(int argc, char* argv[])
#endif
" -l <limit> sets the listen socket queue size\n"
"\n DISK OPTIONS\n"
" -a <mode> sets the allocation mode. [compact|full]\n"
" -a <mode> sets the allocation mode. [sparse|full]\n"
" -R <num blocks> number of blocks per read cache line\n"
" -C <limit> sets the max cache size. Specified in 16kB blocks\n"
" -O Disallow disk job reordering\n"
@@ -1161,7 +1161,7 @@ int main(int argc, char* argv[])
case 'S': settings.unchoke_slots_limit = atoi(arg); break;
case 'a':
if (strcmp(arg, "allocate") == 0) allocation_mode = storage_mode_allocate;
if (strcmp(arg, "compact") == 0) allocation_mode = storage_mode_compact;
if (strcmp(arg, "sparse") == 0) allocation_mode = storage_mode_sparse;
break;
case 's': save_path = arg; break;
case 'U': torrent_upload_limit = atoi(arg) * 1000; break;