Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754174AbYLAE6U (ORCPT ); Sun, 30 Nov 2008 23:58:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752314AbYLAE6H (ORCPT ); Sun, 30 Nov 2008 23:58:07 -0500 Received: from rhun.apana.org.au ([64.62.148.172]:60962 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751528AbYLAE6G (ORCPT ); Sun, 30 Nov 2008 23:58:06 -0500 Date: Mon, 1 Dec 2008 12:57:49 +0800 From: Herbert Xu To: Milan Broz Cc: Nico -telmich- Schottelius , device-mapper development , Christophe Saout , LKML , Herbert@redhat.com, linux-next@vger.kernel.org, linux-crypto@vger.kernel.org Subject: Re: [dm-devel] Re: next-20081125: crypto hard disk gets unaccessable Message-ID: <20081201045749.GA18292@gondor.apana.org.au> References: <20081128063355.GA4700@denkbrett.schottelius.org> <20081129192939.925275f0.akpm@linux-foundation.org> <49332CC6.4080606@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49332CC6.4080606@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1329 Lines: 27 On Mon, Dec 01, 2008 at 01:16:06AM +0100, Milan Broz wrote: > > > [69186.618468] [] ? crypto_cbc_encrypt+0xfa/0x15a [cbc] > > [69186.618481] [] ? aes_encrypt+0x0/0x7 [aes_x86_64] > > [69186.618494] [] ? async_encrypt+0x35/0x3a [crypto_blkcipher] > > [69186.618509] [] ? crypt_convert+0x1d2/0x253 [dm_crypt] > > [69186.618522] [] ? kcryptd_crypt+0x3e6/0x407 [dm_crypt] > > [69186.618533] [] ? kcryptd_crypt+0x0/0x407 [dm_crypt] > > I assume that crypto run here synchronously (not through asynchronous completion callback). > > Herbert - is my guess ok? (The asynchronous handling in dm-crypt was the only part changed recently.) > (And I think that except crypto hw nobody uses asynchronous mode yet by default.) Yes that's definitely synchronous. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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/