[sheepdog] [PATCH v2 4/7] md: add hot-plug and hot-unplug support
Liu Yuan
namei.unix at gmail.com
Wed Apr 3 04:29:38 CEST 2013
On 04/03/2013 10:28 AM, MORITA Kazutaka wrote:
> At Fri, 29 Mar 2013 13:49:41 +0800,
> Liu Yuan wrote:
>> +
>> +static inline void md_del_disk(char *path)
>> +{
>> + int idx = path_to_disk_idx(path);
>> +
>> + if (idx < 0) {
>> + sd_eprintf("invalid path %s", path);
>> + return;
>> + }
>> + remove_disk(idx);
>> +}
>
> How about adding sd_iprintf to log this event like md_add_disk? I
> think this is relatively important information.
>
Okay, make sense
Thanks,
Yuan
More information about the sheepdog
mailing list