From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753237AbbEGHRK (ORCPT ); Thu, 7 May 2015 03:17:10 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:40790 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbbEGHRI (ORCPT ); Thu, 7 May 2015 03:17:08 -0400 Date: Thu, 7 May 2015 00:17:07 -0700 From: Christoph Hellwig To: Ming Lei Cc: linux-kernel@vger.kernel.org, Dave Kleikamp , Jens Axboe , Zach Brown , Christoph Hellwig , Maxim Patlasov , Andrew Morton , Alexander Viro , Tejun Heo Subject: Re: [PATCH v3 3/4] block: loop: use kthread_work Message-ID: <20150507071707.GB7595@infradead.org> References: <1430932106-17451-1-git-send-email-ming.lei@canonical.com> <1430932106-17451-4-git-send-email-ming.lei@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430932106-17451-4-git-send-email-ming.lei@canonical.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2015 at 01:08:25AM +0800, Ming Lei wrote: > The following patch will use dio/aio to submit IO to backing file, > then it isn't good to schedule IO concurrently from work, so > use kthread_work. I can't really parse this, what's the specific advantage here?