Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
llapi_resync_comp::lrc_synced is used against intuitive in the mirror resync code.
llapi_mirror_resync_many_params()
written = llapi_mirror_write(fd, comp_array[i].lrc_mirror_id, buf + pos2 - pos, to_write2, pos2); if (written < 0) { /** * this component is not written successfully, * mark it using its lrc_synced, it is supposed * to be false before getting here. * * And before this function returns, all * elements of comp_array will reverse their * lrc_synced flag to reflect their true * meanings. */ comp_array[i].lrc_synced = true;