mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
IO functions renaming to prepare for parity write support
No functional change.
This commit is contained in:
parent
d9f7657107
commit
62b7587c3a
4 changed files with 116 additions and 91 deletions
|
|
@ -715,7 +715,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
void** buffer;
|
||||
|
||||
/* go to the next block */
|
||||
blockcur = io_next(&io, &buffer);
|
||||
blockcur = io_read_next(&io, &buffer);
|
||||
if (blockcur >= blockmax)
|
||||
break;
|
||||
|
||||
|
|
@ -766,7 +766,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
/* until now is CPU */
|
||||
state_usage_cpu(state);
|
||||
|
||||
task = io_data_next(&io, &diskcur);
|
||||
task = io_data_read(&io, &diskcur);
|
||||
|
||||
/* get the results */
|
||||
disk = task->disk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue