Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752133AbbKKJsV (ORCPT ); Wed, 11 Nov 2015 04:48:21 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:43556 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbbKKJsR (ORCPT ); Wed, 11 Nov 2015 04:48:17 -0500 Date: Wed, 11 Nov 2015 01:48:11 -0800 From: Christoph Hellwig To: Baolin Wang Cc: axboe@kernel.dk, agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com, neilb@suse.com, jack@suse.cz, tj@kernel.org, jmoyer@redhat.com, keith.busch@intel.com, bart.vanassche@sandisk.com, linux-raid@vger.kernel.org, broonie@kernel.org, arnd@arndb.de, dineshg@quicinc.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Introduce the request handling for dm-crypt Message-ID: <20151111094811.GA3641@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Content-Length: 1076 Lines: 19 On Wed, Nov 11, 2015 at 05:31:43PM +0800, Baolin Wang wrote: > Now the dm-crypt code only implemented the 'based-bio' method to encrypt/ > decrypt block data, which can only hanle one bio at one time. As we know, > one bio must use the sequential physical address and it also has a limitation > of length. Thus it may limit the big block encyrtion/decryption when some > hardware support the big block data encryption. > > This patch series introduc the 'based-request' method to handle the data > encryption/decryption. One request can contain multiple bios, so it can > handle big block data to improve the efficiency. NAK for more request based stacking or DM drivers. They are a major pain to deal with, and adding more with different requirements then dm-multipath is not helping in actually making that one work properly. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/