Changeset 40bf2c6 in mainline
- Timestamp:
- 2024-11-27T13:28:59Z (6 months ago)
- Children:
- 65706f1
- Parents:
- 8160e4c0
- Location:
- uspace/srv/bd/hr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid1.c
r8160e4c0 r40bf2c6 474 474 ba += cnt; 475 475 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); 476 483 } 477 484 -
uspace/srv/bd/hr/raid4.c
r8160e4c0 r40bf2c6 230 230 { 231 231 if (vol->status == HR_VOL_ONLINE || 232 vol->status == HR_VOL_DEGRADED) 232 vol->status == HR_VOL_DEGRADED || 233 vol->status == HR_VOL_REBUILD) 233 234 return EOK; 234 235 return EINVAL; … … 745 746 ba += cnt; 746 747 left -= cnt; 748 749 /* 750 * Let other IO requests be served 751 * during rebuild. 752 */ 753 fibril_mutex_unlock(&vol->lock); 754 fibril_mutex_lock(&vol->lock); 747 755 } 748 756 -
uspace/srv/bd/hr/raid5.c
r8160e4c0 r40bf2c6 227 227 { 228 228 if (vol->status == HR_VOL_ONLINE || 229 vol->status == HR_VOL_DEGRADED) 229 vol->status == HR_VOL_DEGRADED || 230 vol->status == HR_VOL_REBUILD) 230 231 return EOK; 231 232 return EINVAL; … … 751 752 ba += cnt; 752 753 left -= cnt; 754 755 /* 756 * Let other IO requests be served 757 * during rebuild. 758 */ 759 fibril_mutex_unlock(&vol->lock); 760 fibril_mutex_lock(&vol->lock); 753 761 } 754 762
Note:
See TracChangeset
for help on using the changeset viewer.