Changeset 40bf2c6 in mainline for uspace/srv/bd/hr/raid1.c


Ignore:
Timestamp:
2024-11-27T13:28:59Z (11 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
65706f1
Parents:
8160e4c0
Message:

hr: allow IO requests to be served during rebuild

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/raid1.c

    r8160e4c0 r40bf2c6  
    474474                ba += cnt;
    475475                left -= cnt;
     476
     477                /*
     478                 * Let other IO requests be served
     479                 * during rebuild.
     480                 */
     481                fibril_mutex_unlock(&vol->lock);
     482                fibril_mutex_lock(&vol->lock);
    476483        }
    477484
Note: See TracChangeset for help on using the changeset viewer.