This is an ancient bug, introduced in 6.0, which was in sleeping
state all these years and was occasionally awaken by change of structure
alignment.

This is purely RK patch, to help people which experience massive
disaster right now.

It is still not completely validated, I think it makes sense
to paralelize validation from my side and preparation of RK patch,
when RK is ready, I will sign it for distribution.

Actual clean patch curing root problem will be made later.

Signed-off-by: Alexey Kuznetsov <kuz...@virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_cs_accel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fuse/kio/pcs/pcs_cs_accel.c b/fs/fuse/kio/pcs/pcs_cs_accel.c
index 036ca17..2fab26f 100644
--- a/fs/fuse/kio/pcs/pcs_cs_accel.c
+++ b/fs/fuse/kio/pcs/pcs_cs_accel.c
@@ -1078,6 +1078,7 @@ static void __complete_acr_work(struct work_struct * w)
                ireq->flags |= IREQ_F_NO_ACCEL;
                /* Clear ACCELERROR to deliver this error normally, through 
invalidating the map */
                ireq->flags &= ~(IREQ_F_ACCELERROR|IREQ_F_ONCE);
+               memset(&ireq->iochunk.acr.net_error, 0, 
sizeof(ireq->iochunk.acr.net_error));
        } else if (pcs_if_error(&ireq->error)) {
                ireq->flags |= IREQ_F_NO_ACCEL|IREQ_F_ACCELERROR;
                ireq->flags &= ~IREQ_F_ONCE;
-- 
1.8.3.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to