From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44226 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNdPi-0003c7-On for qemu-devel@nongnu.org; Tue, 30 Nov 2010 22:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNZRw-0002Zn-W7 for qemu-devel@nongnu.org; Tue, 30 Nov 2010 18:17:30 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:54787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNZRw-0001IH-TM for qemu-devel@nongnu.org; Tue, 30 Nov 2010 18:17:28 -0500 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [9.56.224.85]) by e6.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id oAUNILRD017743 for ; Tue, 30 Nov 2010 18:18:22 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 035A14DE8045 for ; Tue, 30 Nov 2010 18:15:31 -0500 (EST) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAUNH7o8431768 for ; Tue, 30 Nov 2010 18:17:07 -0500 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAUNH63a018315 for ; Tue, 30 Nov 2010 16:17:07 -0700 Message-ID: <4CF585ED.9090908@linux.vnet.ibm.com> Date: Tue, 30 Nov 2010 15:17:01 -0800 From: "Venkateswararao Jujjuri (JV)" MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 6/6] Add helper functions to enable virtio-9p make use of the threadlets References: <20101118180547.4434.95904.stgit@localhost6.localdomain6> <20101118180722.4434.29121.stgit@localhost6.localdomain6> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, Arun R Bharadwaj , qemu-devel@nongnu.org On 11/19/2010 2:17 AM, Stefan Hajnoczi wrote: > On Thu, Nov 18, 2010 at 6:07 PM, Arun R Bharadwaj > wrote: >> From: Gautham R Shenoy >> >> infrastructure for offloading blocking tasks such as making posix calls on >> to the helper threads and handle the post_posix_operations() from the >> context of the iothread. This frees the vcpu thread to process any other guest >> operations while the processing of v9fs_io is in progress. >> >> Signed-off-by: Gautham R Shenoy >> Signed-off-by: Sripathi Kodi >> Signed-off-by: Arun R Bharadwaj >> --- >> hw/virtio-9p.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++++ >> posix-aio-compat.c | 30 +++------- >> qemu-threadlets.c | 21 +++++++ >> qemu-threadlets.h | 1 >> vl.c | 3 + >> 5 files changed, 196 insertions(+), 23 deletions(-) > > Is there code queued up which makes use of this in virtfs? I ask > because at the moment this is deadcode. > > If you are restructuring this patch series, perhaps move the signal > related changes into a commit - they are independent of virtfs. Yep. Please separate out signal handling code and make that patch as part of this series. v9fs code should be part of separate patch series where we attempt to convert v9fs function calls to this threadlet model. Thanks, JV > > Stefan >