[stgt] [BUG FIX][PATCH] semop up failed.
fujita.tomonori at lab.ntt.co.jp
Tue Sep 28 05:10:36 CEST 2010
On Mon, 27 Sep 2010 22:33:21 +0900 (JST)
Hirokazu Takahashi <taka at valinux.co.jp> wrote:
> The tgt logger sometimes leaves a message "semop up failed."
> I think the reason is that the sleeping period in function dolog()
> is too short when it finds a contention on accessing the logging buffer.
> I guess the intention of this code will be "to wait 10 msec", not "to wait
> 10 usec."
Applied, I don't think that there is 'the perfect value'. 10 msec
might be still short for some workloads. But seems that the current
value is too short. I've used the similar change.
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