|
Re: [RFC PATCH 4/4] convert scsi to blkerr error values: msg#00040linux.kernel.device-mapper.devel
Mike Christie wrote: goggin, edward wrote: Oh yeah so the problem I am having is emc boxes may return "LUN Not Ready - Manual Intervention Required". When dm-emc.c sees this error it wants to bypass a group of paths and retry the IO but under ceratin conditions not fail those paths. So I am not sure what to return for this error. I thought if I redo my BLKERR so they describe the error like BLKERR_DEV_NOT_READY BLKERR_MANUAL_INTERVENTION_REQ BLKERR_NOT_CONN ... and set them up as a bitmap like suggested by JamesB. I could return BLKERR_MANUAL_INTERVENTION_REQ from a scsi module then have dm-emc.c evaluate that value to a dm-mpaths return value of "MP_BYPASS_PG | MP_RETRY_IO" which means bypass the priority group (group of paths) and retry the IO. But as more vendors use dm and they cannot use existing BLKERR values I have to add more and more. And then we have to handle the case where some block layer code may return BLKERR_MANUAL_INTERVENTION_REQ for something not related to the reasons EMC's HW was returning "LUN Not Ready - Manual Intervention Required" and we end up with getting things wrong. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [RFC PATCH 4/4] convert scsi to blkerr error values: 00040, Mike Christie |
|---|---|
| Next by Date: | RE: [RFC PATCH 4/4] convert scsi to blkerr error values: 00040, goggin, edward |
| Previous by Thread: | Re: [RFC PATCH 4/4] convert scsi to blkerr error valuesi: 00040, Mike Christie |
| Next by Thread: | Re: [dm-devel] RE: [RFC PATCH 4/4] convert scsi to blkerr error values: 00040, Mike Christie |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |