Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-07 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: > > If the child is not ready, read/write/getlength/flush will > > return -errno. It is not critical error, and can be ignored: > > 1. read/write: > >Just not report the error event. > > What happens if all

Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-07 Thread Wen Congyang
On 09/08/2015 12:56 AM, Dr. David Alan Gilbert wrote: > * Eric Blake (ebl...@redhat.com) wrote: >> On 09/02/2015 02:51 AM, Wen Congyang wrote: >>> If the child is not ready, read/write/getlength/flush will >>> return -errno. It is not critical error, and can be ignored: >>> 1. read/write: >>>

Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-06 Thread Wen Congyang
On 09/03/2015 12:30 AM, Eric Blake wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: >> If the child is not ready, read/write/getlength/flush will >> return -errno. It is not critical error, and can be ignored: >> 1. read/write: >>Just not report the error event. > > What happens if all

[Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-02 Thread Wen Congyang
If the child is not ready, read/write/getlength/flush will return -errno. It is not critical error, and can be ignored: 1. read/write: Just not report the error event. 2. getlength: just ignore it. If all children's getlength return -errno, and be ignored, return -EIO. 3. flush: Just

Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-02 Thread Eric Blake
On 09/02/2015 02:51 AM, Wen Congyang wrote: > If the child is not ready, read/write/getlength/flush will > return -errno. It is not critical error, and can be ignored: > 1. read/write: >Just not report the error event. What happens if all the children report an error? Or is the threshold at