On Wed, 2012-10-24 at 16:10 +0200, Paolo Bonzini wrote: > Il 24/10/2012 16:03, Paolo Bonzini ha scritto: > > Il 24/10/2012 14:16, Nicholas Thomas ha scritto: > >> > >> I've also just noticed that flush & discard don't take the send_mutex > >> before writing to the socket. That can't be intentional, surely? Paolo? > > > > No, it's a bug. > > Hmm, why do you say it doesn't take the mutex? nbd_co_flush and > nbd_co_discard all call nbd_co_send_request, which takes the mutex. > > Paolo
Sorry, brain fail. You're right: no bug :) /Nick