Client library: fix recovery stripe recovery with sparse file by using the computed recovery size, instead of read size, as the computed value takes into the account the end of RS block / hole start position. This only has effect when the recovery stripe become available while / before recovery starts, and some other stripes (chunks) becomes unavailable. Without this change the recovery stops only at the max chunk size, instead at the hole boundary. The boundary only knows with stripe size precision, in the case when the chunk that contains the partial stripe with the hole boundary isn't available (lost).
Client library: fix recovery stripe recovery with sparse file by using the computed recovery size, instead of read size, as the computed value takes into the account the end of RS block / hole start position. This only has effect when the recovery stripe become available while / before recovery starts, and some other stripes (chunks) becomes unavailable. Without this change the recovery stops only at the max chunk size, instead at the hole boundary. The boundary only knows with stripe size precision, in the case when the chunk that contains the partial stripe with the hole boundary isn't available (lost).

fengshao0907/qfs,chanwit/qfs,qnu/qfs,fengshao0907/qfs,fengshao0907/qfs,quantcast/qfs,qnu/qfs,chanwit/qfs,quantcast/qfs,thebigbrain/qfs,fengshao0907/qfs,chanwit/qfs,thebigbrain/qfs,chanwit/qfs,quantcast/qfs,chanwit/qfs,thebigbrain/qfs,fengshao0907/qfs,thebigbrain/qfs,thebigbrain/qfs,quantcast/qfs,qnu/qfs,chanwit/qfs,qnu/qfs,qnu/qfs,qnu/qfs,quantcast/qfs,chanwit/qfs,chanwit/qfs,quantcast/qfs,quantcast/qfs,qnu/qfs,thebigbrain/qfs,fengshao0907/qfs,fengshao0907/qfs,thebigbrain/qfs,fengshao0907/qfs,quantcast/qfs,thebigbrain/qfs,qnu/qfs