Avoid the limitation of 255 disks for the IO subsystem

This commit is contained in:
Andrea Mazzoleni 2026-05-21 15:12:57 +02:00
parent d2edddea0a
commit 5a664a4100
2 changed files with 6 additions and 6 deletions

View file

@ -294,8 +294,8 @@ struct snapraid_io {
* To get the next element to process we use i = list[i + 1].
* The end is when i == reader_max.
*/
unsigned char* reader_list;
unsigned char* writer_list;
unsigned* reader_list;
unsigned* writer_list;
/**
* Exit condition for all threads.