[Sheepdog] [PATCH] sheep: avoid calling get_vnode_info() against force operations
MORITA Kazutaka
morita.kazutaka at gmail.com
Sun May 6 21:07:57 CEST 2012
At Fri, 4 May 2012 03:53:32 +0900,
MORITA Kazutaka wrote:
>
> The force operations can be processed before we set up
> current_vnode_info. For example, when we start the cluster, sheep
> daemons can receive SD_OP_READ_VDIS requests from other nodes before
> setting current_vnode_info. So the force operations shouldn't access
> req->vnodes in their process_work() and process_main().
>
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at gmail.com>
> ---
> sheep/sdnet.c | 9 ++++++++-
> 1 files changed, 8 insertions(+), 1 deletions(-)
Applied.
Kazutaka
More information about the sheepdog
mailing list