Re: Don't override all errors in opendev

2016-01-19 Thread Vadim Zhukov
2016-01-20 1:10 GMT+03:00 Vadim Zhukov : > Not all errors coming from diskmap should be overwritten. > In particular, if we get EBUSY, that doesn't mean "try again with > accessing /dev/foo, fail and return ENOENT instead". > > Maybe we should add more errors to this list, or even invert the > filt

Don't override all errors in opendev

2016-01-19 Thread Vadim Zhukov
Not all errors coming from diskmap should be overwritten. In particular, if we get EBUSY, that doesn't mean "try again with accessing /dev/foo, fail and return ENOENT instead". Maybe we should add more errors to this list, or even invert the filtering logic - I'm: 1) not an expert in this area; 2)