Add ioctls VINUM_CHECKPARITY and VINUM_RESETPARITY, still to be fully
implemented.
This commit is contained in:
parent
870bf32856
commit
5a83a31cac
@ -301,6 +301,14 @@ vinumioctl(dev_t dev,
|
||||
*(int *) data = daemon_options;
|
||||
return 0;
|
||||
|
||||
case VINUM_CHECKPARITY: /* check RAID-5 parity */
|
||||
parityops((struct vinum_ioctl_msg *) data, checkparity);
|
||||
return 0;
|
||||
|
||||
case VINUM_REBUILDPARITY: /* rebuild RAID-5 parity */
|
||||
parityops((struct vinum_ioctl_msg *) data, rebuildparity);
|
||||
return 0;
|
||||
|
||||
default:
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user