[sheepdog] [PATCH v2] sheep/recovery: multi-threading recovery process
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Mon Feb 3 09:42:29 CET 2014
At Tue, 28 Jan 2014 18:01:42 +0800,
Liu Yuan wrote:
>
> @@ -861,6 +885,7 @@ static void recover_object_main(struct work *work)
>
> finish_recovery(rinfo);
> out:
> + rinfo->running_threads_nr--;
> free_recovery_obj_work(row);
> }
This can cause a segfault because rinfo may be freed in run_next_rw()
or finish_recovery().
Thanks,
Kazutaka
More information about the sheepdog
mailing list