[lvm-devel] [PATCH] Improve mirror DSO's failure logging

Jonathan Brassow jbrassow at redhat.com
Tue Nov 24 15:36:53 UTC 2009


On Nov 23, 2009, at 4:00 PM, Takahiro Yasui wrote:

> I'm afraid that only an error status of the device with the smallest  
> index
> of the dev_status_str[] array will be reported. For example, if the  
> status
> is "ARD," "r" will have a value, ME_READ_FAILURE. Then, a write  
> failure
> event (ME_PRIMARY_WRITE_FAILURE and ME_SECONDARY_WRITE_FAILURE)  
> won't be
> detected in process_event(). I think that "WRITE_FAILURE" events  
> should
> have priority.
>
> Thanks,
> Taka

Good catch Taka, I agree.  Otherwise, I welcome this patch.

  brassow




More information about the lvm-devel mailing list