Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10856011pxu; Wed, 30 Dec 2020 13:48:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0hK97lmZ8O0n3xgkUUkZtzqoWDGYW0XgjrJSeEqdYsUeXJAQvAAw8b4MCOnjkx/eUpeqy X-Received: by 2002:aa7:d906:: with SMTP id a6mr52503124edr.121.1609364895192; Wed, 30 Dec 2020 13:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609364895; cv=none; d=google.com; s=arc-20160816; b=WUtx4FIYrdTM6TNdtBcWiLdL6LCJQoXmE79ZMLVd6/pKGlo7v/z+D5hda8EB7YhpQs erRIh9FA3LSTG9bC8U7O9zPghn0z0i067J347fj0QzbVz+8/QLyBy8fUYrA3GLb2kcsg D/y5kWLhlCJ3DUp+nkfI15g71X01wsT7Tyy1hskQb8NKVVaG0z9a7ijnRAeqCfFmhLcv Z9lmlkKd9NwFApzrKi8OqJWF+pQY6AwvyJhmO+YQIdf9lR8ICEQvK1afP9IVP8HfggnI pbO4BR0W8sfUL6yJS3diBTmd0Pi96uOywloeyp66UYwqxWvwdiZCaIMSE1aCEDz5GGFK g+pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/kbVtG9+aGsr44Zrtbqkbn+LIP6L6fp4kSH2R8701XE=; b=niqrbp/nDhoB6gJ9rn0cpwBfH0zxwHRL9j8SLc0lrNpUkfSnf92nVtZt4FXK3RrWtZ DRs43NBrqMv7koI2LgQVK84biuVhNOcfMR5Vsd9xajNlGCTgZdCPtc1KCqvPBOtc6lfV 1aS7SeOSBrlzITZRqiyDGYXAf8hlffeqjfIRU3aWiCiI3PysRmST7u+o+kvImzsq+ExC ajBwioBJRSkpUXokOFeGFvsDG/lfFkHXs/pnp1FHzbMUpIB0wqg9EYuFUx80/Veq+nSE 5ZObGtpp4VTX5qgpZAdmBo0w0JvfeDLj0dIsUQtng0qxrvuJT/fWSJJ4bIsNygF04JQ6 7heg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b="Cr1Y17z/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id am1si21190729ejc.463.2020.12.30.13.47.53; Wed, 30 Dec 2020 13:48:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b="Cr1Y17z/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgL3Vq6 (ORCPT + 99 others); Wed, 30 Dec 2020 16:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726356AbgL3Vqv (ORCPT ); Wed, 30 Dec 2020 16:46:51 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BDFBC061573 for ; Wed, 30 Dec 2020 13:45:56 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 190so6021181wmz.0 for ; Wed, 30 Dec 2020 13:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/kbVtG9+aGsr44Zrtbqkbn+LIP6L6fp4kSH2R8701XE=; b=Cr1Y17z/exiurhuFY6Pbw763XwbO2cQtAmhdoKUuvXpfxnQ2AJlJxQnN8tZcPVfvwI BBlsVX/TWEBzgPFF5+Uf2aMsMP//MxFjBRv3fYLtv4sdYc83z0bRB0rTzMnXBv6oeCVI ss+pYhxZ2KcPMItt+ZnzcDzRo78F4xr/xO1J4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/kbVtG9+aGsr44Zrtbqkbn+LIP6L6fp4kSH2R8701XE=; b=SqEEQeZvt8+KTfdbHlw4Ig6zUQYjBKpjxFM/WxMnz3CAAl74X1Sxa6noXnTsZ99Z7Q zKw9JacPdxiaHztJe638Q5Z1fXAHZb+DqTcPEHS624VklgmJkl0xBr0VHQ9sGAwyGDt/ Oe8X9oP5PZ4a+Tpiw6p32wS2+YWeE36T7KubMot3df5cJlsdRxkucUkpTKViC+RAYVxM SzXIKaa3B7iqvLQS3fqddzeEsbkW1RO3C4+xjfZtmaFk6Ic8h8clrQVubHB+eoCSVIe0 XfUJB/PuRWpZM1O2Ky3qsEnrW+vhmh6qjBqh9syminxWk7DL79Ta6W3H2fe6YGp/99RH R/Vg== X-Gm-Message-State: AOAM530ktnwpJzwIxWrD4qWUlT9sVxBmXVLMHjkZL7A6nvmgDdIHGXu9 FaUnrFECgEgFan1xwETRGQNGU2EGsd22Qm6cYSwDXw== X-Received: by 2002:a7b:cb09:: with SMTP id u9mr9373821wmj.61.1609364754774; Wed, 30 Dec 2020 13:45:54 -0800 (PST) Received: from dev.cfops.net (165.176.200.146.dyn.plus.net. [146.200.176.165]) by smtp.gmail.com with ESMTPSA id r7sm8749894wmh.2.2020.12.30.13.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 13:45:53 -0800 (PST) From: Ignat Korchagin To: agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com, dm-crypt@saout.de, linux-kernel@vger.kernel.org Cc: Ignat Korchagin , ebiggers@kernel.org, Damien.LeMoal@wdc.com, mpatocka@redhat.com, herbert@gondor.apana.org.au, kernel-team@cloudflare.com, nobuto.murata@canonical.com, clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, mail@maciej.szmigiero.name Subject: [PATCH v2 0/2] dm crypt: some fixes to support dm-crypt running in softirq context Date: Wed, 30 Dec 2020 21:45:18 +0000 Message-Id: <20201230214520.154793-1-ignat@cloudflare.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes from v1: 0001: Handle memory allocation failure for GFP_ATOMIC Ignat Korchagin (2): dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq dm crypt: do not wait for backlogged crypto request completion in softirq drivers/md/dm-crypt.c | 135 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 120 insertions(+), 15 deletions(-) -- 2.20.1