Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp602467rdb; Thu, 22 Feb 2024 13:25:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXgLrRgfJwPVuO3Zn/5+9hVFz+UcBXj3Obcp/HVbgtxW/8IW9jyKmnl9zjsyb6RhuXLfy6G9jiDCaBVucPi6FfLeV3V9V8LoO636XVuyg== X-Google-Smtp-Source: AGHT+IFagqybEJ44PybZDUDZueBmhWEy+CnGEiys963yz2C8KSZWZjdN/Dsaru6s+yPb4H7MWZJ9 X-Received: by 2002:aa7:d64d:0:b0:564:4647:947d with SMTP id v13-20020aa7d64d000000b005644647947dmr241123edr.3.1708637135066; Thu, 22 Feb 2024 13:25:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708637135; cv=pass; d=google.com; s=arc-20160816; b=BmHwmRWNtoTqDi61QIpye7mkDAY2VHXHniD9HUWR8qSooRwrs23IvfwRTRhi/rmUUl 0TH3Bpapb9UzNI+80GiXKhoRmBXABMC+0dlWeosPvf0xg2iQ7MPHEDOLyLs8BTEA5HKd p34CIgIMc0QI1uIJThngb0o+ysqT4z6RZisyfp/C65VGGqXUds0DHjCm5MtMADFFq9Q6 Ngw5Cnpr6SRXv0UapZl26brKx3MUtYc7wfDCin4XwNqjromenbkVfPhj0r1tGg/0xO7n d8eJrSoje5PNEsQZdGqRO3LNxQFKlTbcAYQvMSduSSzX+ckoG1ckuEa6QlpTNpDMwUA9 2o6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=eq0QwZQY3YjWZ+VtYPNkWvBuXSdkd0s0ToaLbM0Gyng=; fh=T3mwXB4AKnSZHong9bu0u0xsDsuHk1cHDybIOBA7LO8=; b=ToJQdu2UBmbqZcAps6FFx7pPJHwqoUpxqFgiJk8icj0FtwJljSRFFmLa5idcR1fqaf rw0hMWdFo3NVgqEhUYobPRjLda1vLa3lIoU2zTQGa0K+QhNPh7Z67ocmzZ1rnCgHqiJ0 7VsfLLbaN3x/mpcBe8a+bv35ih7U4LY4WKysXeUUHU2j45OrGVsvV8h5FAmJ/SsNigy9 S3JDfsm7vvFoLwRSRNklNJ2kjSxSC2ex4Q10hOOJN1I85R8F1jre4ZfgvbNbELKaqJuh Vn5F7koXpnAyKW/YADPa/sLi/sBQWiSAlANn4WNAMsDA+MOV48ecybT1SFCMKJd8A/xt 2ZBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-77398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c20-20020a05640227d400b005654007d59bsi691956ede.143.2024.02.22.13.25.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:25:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-77398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CE09B1F26577 for ; Thu, 22 Feb 2024 21:25:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD1DF12D204; Thu, 22 Feb 2024 21:24:50 +0000 (UTC) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 908E77174E for ; Thu, 22 Feb 2024 21:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708637090; cv=none; b=rsuXawY/AFTHekcgmQXB9vJtzFu/3NplRCilLcFrkDBHVa+/0PSDiyNX1BdGUYkjc26QPaMCMMWhJHagPvvHLwuAm/duodI7sUtX2oP+2KxGDxtq/2CSiVdUGXWVIK9yhvsLioPOqryqD1DvJ3A/Zy42BNGR5M0l6jBsFoBH+DI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708637090; c=relaxed/simple; bh=tXUpcTAJY+vi3vE9MWTEQBL5LoTKxp5Sis2ipx0eQX8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BhVABh97w5zOSZ4E+e6hUmLTlPSQQ5KTUreGP/NCC32BSfwodn9s2a5doybX5B2arnpom5LGZBwyqJ3/0mwbU5RW0OhtxC2BPwz8QXhUaLgsD6CUyoN1pLbexlAc08mVCPG1rrqJIytkV2uap9r+ErvVEjEbjHFjZ0JAawRLHrY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=redhat.com; arc=none smtp.client-ip=209.85.219.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-6818f3cf00aso1632146d6.0 for ; Thu, 22 Feb 2024 13:24:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708637087; x=1709241887; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eq0QwZQY3YjWZ+VtYPNkWvBuXSdkd0s0ToaLbM0Gyng=; b=omhrgrzSsSfm8Qrv7yEMxDfyVKgj3xACeBCrsUvUAoUpLJc0ypuRX+1O/mBAUsAS30 tSwXQiSRdV37Hza/qRHjC6NuY/7FLN+aj2EyzF/ERlKblCCt+drpVclqDlE9bD0HljiF F9JeAhASl5iTv0hDfDk0zWeY/LpszT9RKV2cvofIgJZY2OjJKwfDUfycwoG5vgby1JPT 5l2DJrnyzK2aG7MUyfSaLUuunhPdGHCYLO/mr5VcMsgbQhnc+Tkv2s3PZb4//k+lhoaf luXtASHTEp3kPqOHrkTCRWaGOV2m6j6vzbJzqrvtlQrR880JAunzDwWNNgnrbXsbUjPU idqg== X-Forwarded-Encrypted: i=1; AJvYcCWjiTKLkQ5N8fXTVuTq4WviVAp91mJBCrpFbVdV/3TMyNSU62NWC81HqIV5Rn/hOMIUbEMoJXomAff5Np6zPy0fE/bJkWJ3q9MFJgSR X-Gm-Message-State: AOJu0YzxgtsAqJ5DnSHIb2HSbcwLI4aKE+RQhOkMOdXzq97PDLv+o7LY k+JS9BPr3HilK6A6vf3b55e6CMXdCmf9YzuPmr3vfTzdcwng821c8vSaSsFzyw== X-Received: by 2002:a0c:f38c:0:b0:68f:2e24:615a with SMTP id i12-20020a0cf38c000000b0068f2e24615amr399836qvk.12.1708637087556; Thu, 22 Feb 2024 13:24:47 -0800 (PST) Received: from localhost (pool-68-160-141-91.bstnma.fios.verizon.net. [68.160.141.91]) by smtp.gmail.com with ESMTPSA id qm18-20020a056214569200b0068c88a31f1bsm1802546qvb.89.2024.02.22.13.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:24:46 -0800 (PST) Date: Thu, 22 Feb 2024 16:24:45 -0500 From: Mike Snitzer To: Tejun Heo Cc: Linus Torvalds , Mikulas Patocka , linux-kernel@vger.kernel.org, dm-devel@lists.linux.dev, msnitzer@redhat.com, ignat@cloudflare.com, damien.lemoal@wdc.com, bob.liu@oracle.com, houtao1@huawei.com, peterz@infradead.org, mingo@kernel.org, netdev@vger.kernel.org, allen.lkml@gmail.com, kernel-team@meta.com, Alasdair Kergon Subject: Re: [PATCH 8/8] dm-verity: Convert from tasklet to BH workqueue Message-ID: References: <20240130091300.2968534-1-tj@kernel.org> <20240130091300.2968534-9-tj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 20 2024 at 3:05P -0500, Tejun Heo wrote: > Hello, Mike. > > On Tue, Feb 20, 2024 at 02:44:29PM -0500, Mike Snitzer wrote: > > I'm not sure where things stand with the 6.9 workqueue changes to add > > BH workqueue. I had a look at your various branches and I'm not > > seeing where you might have staged any conversion patches (like this > > dm-verity one). > > Yeah, the branch is for-6.9-bh-conversions in the wq tree but I haven't > queued the DM patches yet. Wanted to make sure the perf signal from TCP > conversion is okay first. FWIW, while Eric still has concerns, the initial > test didn't show any appreciable regression with production memcache > workload on our side. > > > I just staged various unrelated dm-verity and dm-crypt 6.8 fixes from > > Mikulas that I'll be sending to Linus later this week (for v6.8-rc6). > > Those changes required rebasing 'dm-6.9' because of conflicts, here is > > the dm-6.9 branch: > > https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-6.9 > > > > So we'll definitely need to rebase your changes on dm-6.9 to convert > > dm-crypt and dm-verity over to your BH workqueue. Are you OK with > > doing that or would you prefer I merge some 6.9 workqueue branch that > > you have into dm-6.9? And then Mikulas and I work to make the required > > DM target conversion changes? > > Oh, if you don't mind, it'd be best if you could pull wq/for-6.9 into dm-6.9 > and do the conversions there. > > Thank you. I've rebased and made the changes available in this dm-6.9-bh-wq branch: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-6.9-bh-wq I left them both DM conversion commits attributed to use despite the rebase (and churn of renames I did in the dm-verity commit); hopefully you're fine with that but if not I can split the renames out. I successfully tested using the cryptsetup testsuite ('make check'). And I've also added these changes to linux-next, via linux-dm.git's 'for-next': https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=for-next Mikulas, feel free to review/test and possibly add another patch for dm-verity that only uses a single work_struct in struct dm_verity_io Thanks, Mike