Re: Extend BTRFS_IOC_DEVICES_READY for degraded RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 05.01.15 10:46, Harald Hoyer (harald@xxxxxxxxxx) wrote:

> We have BTRFS_IOC_DEVICES_READY to report, if all devices are present, so that
> a udev rule can report ID_BTRFS_READY and SYSTEMD_READY.
> 
> I think we need a third state here for a degraded RAID, which can be mounted,
> but should only after a certain timeout/kernel command line params.
> 
> We also have to rethink how to handle the udev DB update for the change of the
> state. incomplete -> degraded -> complete

I am not convinced that automatically booting degraded arrays would be
a good idea. Instead, requiring one manual step before booting a
degraded array sounds OK to me.

Lennart

-- 
Lennart Poettering, Red Hat
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux