[stgt] [PATCH] tgt-admin: Fix race where large updates may fail

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Oct 7 01:15:50 CEST 2011


On Thu,  6 Oct 2011 14:19:43 -0700
Andy Grover <agrover at redhat.com> wrote:

> https://bugzilla.redhat.com/show_bug.cgi?id=736740
> 
> Sometimes tgt-admin will try to use a tid twice, causing an error and the
> update to fail. This patch updates tgtadm_output_tid hash with $next_tid
> directly, instead of re-querying tgtd to find max tid.
> 
> Signed-off-by: Andy Grover <agrover at redhat.com>
> ---
>  scripts/tgt-admin |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list