Changeset 182ffcc in mainline


Ignore:
Timestamp:
2024-11-08T15:13:36Z (6 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
13ce552
Parents:
5f543e9
Message:

hr: allow unsupported sync in RAID 0,1

Location:
uspace/srv/bd/hr
Files:
2 edited

Legend:

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

    r5f543e9 r182ffcc  
    160160                        rc = block_sync_cache(vol->extents[extent].svc_id,
    161161                            phys_block, cnt);
     162                        /* allow unsupported sync */
     163                        if (rc == ENOTSUP)
     164                                rc = EOK;
    162165                        break;
    163166                case HR_BD_READ:
  • uspace/srv/bd/hr/raid1.c

    r5f543e9 r182ffcc  
    177177                                continue;
    178178                        rc = block_sync_cache(vol->extents[i].svc_id, ba, cnt);
    179                         if (rc != EOK)
     179                        if (rc != EOK && rc != ENOTSUP)
    180180                                handle_extent_error(vol, i, rc);
    181181                        else
Note: See TracChangeset for help on using the changeset viewer.