Changeset ca7fa5b in mainline for uspace/srv/bd/hr/raid5.c
- Timestamp:
- 2025-04-02T18:24:11Z (4 months ago)
- Children:
- 800d188
- Parents:
- bbcd06e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid5.c
rbbcd06e rca7fa5b 39 39 #include <errno.h> 40 40 #include <hr.h> 41 #include <inttypes.h> 41 42 #include <io/log.h> 42 43 #include <ipc/hr.h> … … 770 771 hr_extent_t *rebuild_ext = &vol->extents[bad]; 771 772 772 HR_DEBUG("hr_raid5_rebuild(): starting rebuild on (% lu)\n",773 HR_DEBUG("hr_raid5_rebuild(): starting rebuild on (%" PRIun ")\n", 773 774 rebuild_ext->svc_id); 774 775 … … 804 805 if (rc != EOK) { 805 806 hr_raid5_handle_extent_error(vol, i, rc); 806 HR_ERROR("rebuild on \"%s\" (%lu), failed due " 807 "to a failed ONLINE extent, number %lu\n", 807 HR_ERROR("rebuild on \"%s\" (%" PRIun "), " 808 "failed due to a failed ONLINE extent, " 809 "number %zu\n", 808 810 vol->devname, vol->svc_id, i); 809 811 goto end; … … 819 821 if (rc != EOK) { 820 822 hr_raid5_handle_extent_error(vol, bad, rc); 821 HR_ERROR("rebuild on \"%s\" (% lu), failed due to "822 "the rebuilt extent number % lu failing\n",823 HR_ERROR("rebuild on \"%s\" (%" PRIun "), failed due to " 824 "the rebuilt extent number %zu failing\n", 823 825 vol->devname, vol->svc_id, bad); 824 826 goto end; … … 838 840 } 839 841 840 HR_DEBUG("hr_raid5_rebuild(): rebuild finished on \"%s\" (% lu), "841 "extent number % lu\n", vol->devname, vol->svc_id, hotspare_idx);842 HR_DEBUG("hr_raid5_rebuild(): rebuild finished on \"%s\" (%" PRIun "), " 843 "extent number %zu\n", vol->devname, vol->svc_id, hotspare_idx); 842 844 843 845 hr_update_ext_status(vol, bad, HR_EXT_ONLINE);
Note:
See TracChangeset
for help on using the changeset viewer.