From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 9BC1673F1F for ; Thu, 22 Feb 2024 21:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708637090; cv=none; b=sSrI+UrtPIlj2PrQcPtbxau7/T729jSyjnHPPsYVhiEDwPrxSwR+RXc4cDcwEpPj/H8F1fIghOj/BIU3zh8jxCNjqveS3xJsCq4ARxFcixUZ7AH4OkV/8BTf6Zymo8xGjCCXFvjV8m4e1jY1d8FUA4b9tpb+hAFKuWSkXYtjpTA= 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.222.171 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-qk1-f171.google.com with SMTP id af79cd13be357-785d57056b0so10604085a.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=QHUS4IZbxbaxq6EUZqsNtKvV6eXt0SkLNwvFeFKCpFB7gFwYv2ElkULl5p1FtzZ7AF lAVt6nwlqD4WFWmIII96MdBeiC4ey2nUkNXvLWWZU19etPUKDtRmCcgavjpZhaEc5ltk +3XFBP9OBWkNzw4zxvc4PdyxRG/p6oO2vSHV/jJCczdRoCOwFhehRUsZwzLReBV4amA2 DwH/aRCEt2kYuMSSpGuGn2kVY0jX/tXoirWjb5UL8qZaEfat8mRGab1rdAUi3vNqsFJH 4w+09IUyJvg2IdavB61jX12FbMOBNnxIAK7G1greVIuBD8PoUBIPbNnSykDsEpyet/i1 4FmQ== X-Forwarded-Encrypted: i=1; AJvYcCVmOoy2NefABF+qRqYMB8hZ73qeDf1+Pty75AKdhl6GklqMZQnoP4taMsQvFCLxDCjeAaU36/sVQKz2+874oOUae05YPZuO X-Gm-Message-State: AOJu0Yy0rOLCP/NNdETauXnYpvc+4+GmMFYAccpK1s3sO7MlHit8D8pr 5d2dsJPvLtiukbFVtGZjcHmiDSk68pcvzbMYzrqRc2KQkMcQ74MqHd1tqcb/wQ== X-Google-Smtp-Source: AGHT+IGN01XI6hb44wNpdqumjqu4HGrAUjLE3qm5ShySTrAHxjvJp1IxMDc5obZgXCmLdXewj8STng== 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: netdev@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