From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRSk6-0007OW-P9 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 16:46:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRSjx-00017Y-Fy for qemu-devel@nongnu.org; Fri, 27 Feb 2015 16:46:42 -0500 Message-ID: <54F0E5AC.3010407@redhat.com> Date: Fri, 27 Feb 2015 16:46:20 -0500 From: Max Reitz MIME-Version: 1.0 References: <1425045947-9271-1-git-send-email-mreitz@redhat.com> <54F0AC87.3040707@redhat.com> <54F0E555.2020803@weilnetz.de> In-Reply-To: <54F0E555.2020803@weilnetz.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] block/vdi: Add locking for parallel requests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , Paolo Bonzini , qemu-block@nongnu.org Cc: Kevin Wolf , qemu-stable@nongnu.org, Stefan Hajnoczi , qemu-devel@nongnu.org On 2015-02-27 at 16:44, Stefan Weil wrote: > Am 27.02.2015 um 18:42 schrieb Paolo Bonzini: >> >> An optimized fix could be to use a CoRwLock, then: > > > Note related to our previous discussion: why does the code use > CoRwlock instead of CoRwLock? Should it be renamed before more code > uses it? Well, I'm simply not using it (in v3 at least...), so I hope I'll get away without touching that. :-) Max