[PATCH] Improve mirror DSO's failure logging
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <[email protected]> |
Takahiro Yasui [tyasui at redhat.com] 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. Thank you, Takahiro. Just posted a patch fixing the above issue. I used them as flags to fix it. Let me know what you think. See http://permalink.gmane.org/gmane.linux.kernel.device-mapper.devel/10675 for details. Thanks, Malahal.