You can set a device to be write mostly with e.g. echo writemostly > /sys/block/md0/md/dev-sda1/state and clear the writemostly status with echo -writemostly > /sys/block/md0/md/dev-sda1/state