Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp555458rdh; Wed, 7 Feb 2024 12:36:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHUPOLFZay2mQVYJrxAyN1JyLu4Pep0eNmUzbq9XaGBhprF4zul6TOT8TJmWi/OjRJTxrm X-Received: by 2002:a05:622a:118a:b0:42b:fefd:6d95 with SMTP id m10-20020a05622a118a00b0042bfefd6d95mr8920299qtk.58.1707338198286; Wed, 07 Feb 2024 12:36:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707338198; cv=pass; d=google.com; s=arc-20160816; b=c3D+JZiNBL5FswMtiQFwPfUn0JZ0qUw5cqAJFJT3SdXV9KUWCB0ARfdEFvhDRmA6Xi lki+QncYZjuTTeNKbyYa5RA+7YT4qNbZQUUXqYm3kfBXqpnUCbMBJa9r9QU6lawfy7BV dIA9820/TbDue6hTDZ0vfimr0ptNwmCxN3y/pDugY5uXIzMNsMUb+IysP50uQe2fjCa3 7bxweWnUjv/qAFNHw+CIYXkGygPVu/y60KdMCvBIfc8di6s5xMUQnqTDKoWUodWqS24+ tmP36c/wnmTDrPwCIY1Qp9S1DfDpnHJNtVXx81C9MB7fXZVxQ/Jtf6faoamUT7T2uMOu qTPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; fh=oKy6GcLWzFYm9SRS3jTOhmUdfWZmM7sfkrESLLqpoIw=; b=RT12iNOUgSlzISIYHTtF+OY2CqzBzUonL801uz0ZF94d8ZeycujyhvuQ2Nt81E49zm 3Oht/PWi4R1YAZjfb4uea/cfEYe2oB70WQbfJ1cUzbO8n9JzEqyX34ZVQ3JTeGLI5Qlq 30H4ti2tym4FmOyaQc/096Dls8xgibNmL40dK3ZoXq29Bz0SFHh7Az+6Al6mvRBou30z uhkvaB/nczak7pqtRHLYAU+1Lv99cKj+jsyrg+dOlSWjrW8lknIRwCPF9D/tnxa3PnaC 6qlvgvTCw9Uu1wF9sy1VGt3RO/bkpOQE7OsBM1CUYR3hztJ80iVbr+HUOY+oghTN8ZD2 nfmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ciq.com header.s=s1 header.b=k6aoA6gW; arc=pass (i=1 spf=pass spfdomain=ciq.com dkim=pass dkdomain=ciq.com dmarc=pass fromdomain=ciq.com); spf=pass (google.com: domain of linux-kernel+bounces-57035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=ciq.com X-Forwarded-Encrypted: i=2; AJvYcCUuAOzyS7gqeqF4WilP2GMAV4mymYgvI9LalYW3WKGQLZ4PxL3meryXA6t7k+gs1SkwMhZzpMfiXRELkAgR3LyOVZN0yALozWCEq0roUg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b10-20020a05622a020a00b0042c07746d94si1869071qtx.676.2024.02.07.12.36.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 12:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ciq.com header.s=s1 header.b=k6aoA6gW; arc=pass (i=1 spf=pass spfdomain=ciq.com dkim=pass dkdomain=ciq.com dmarc=pass fromdomain=ciq.com); spf=pass (google.com: domain of linux-kernel+bounces-57035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=ciq.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 35DBD1C25733 for ; Wed, 7 Feb 2024 20:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72A242E3F2; Wed, 7 Feb 2024 20:35:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ciq.com header.i=@ciq.com header.b="k6aoA6gW" Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (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 1198A1EB38 for ; Wed, 7 Feb 2024 20:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707338107; cv=none; b=HkCvfvQ9sQWY+cl7S7PIM8MAMD2ZGwHisCAh9mMW2snKKb0m8BJQ/yalYrw/baKKtmL3ZLGlddIVwNtHvRZ9LDn7CJWmAETPXuvXr/k4Yr5hyNVk1wsXwOBnGaDkzmk/RXsAiNNdnYdRduj/IC0wgkKkbp6KTghIxx9ntwK0NVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707338107; c=relaxed/simple; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=O/tgTlU6fYl5A3qwlK2F52Fd6q2/M96/PCG91QBr7rlLLVdQpuzIzo0CRZAJkPJ8GlP0DXyMGr4nrRSvV9dPg6dlLfUeCAqX9bqrcXyl/b88TAyso8077gCyCNF+qALEq1d5p88tT7r2dUxznsGx725cn1mqHzlAMP/gzN0J/g8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ciq.com; spf=pass smtp.mailfrom=ciq.com; dkim=pass (2048-bit key) header.d=ciq.com header.i=@ciq.com header.b=k6aoA6gW; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ciq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ciq.com Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-5d8b276979aso765035a12.2 for ; Wed, 07 Feb 2024 12:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciq.com; s=s1; t=1707338105; x=1707942905; darn=vger.kernel.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; b=k6aoA6gWL002h8P2zXOejqp8noIzeX4H2XusvBCr+UYR9KHQl7Y1LoIVx/JU66Zu/D ePOb9j29HCpVW3NkPdSv+/mWpouGODngz08IwdF7sr3EBqXJAxWEN7smzDtXGwCz1DxL DT4FuJlRapYUNMKgJa+jNIjDL3LllrxAZvGwHI+5viUvK5sz03fhk4+egXTLIiZ20BCw r/yxMjdRMf8ubzi/UNm5hVIgABRvdmugIdriKyseW2Y+LsRvL56lWRUxOrgBowWNujyi RpUtjxKKWueSegvDllzxNzRNagE9CP+mvOB5a1Ee4/h+fS6zQk1Qv51vPVHerZO3EvLv soZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707338105; x=1707942905; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; b=urdStiFZI7fQZKmz005/m8x8Z1aTQRpHX3S/QyiQ6CsKKOyA0Bl+tFqVj+gZAf/UR5 h6lZ2UHeRfJFJNfuZYbGYjusK84eYyiNaHNYTDAg/oOTp/56DoHgK34WAw88C7Hja7PR G2cmryOMEDwtYaBPTwwYoPOKJemnRJi5UtlzSZGDUZeorwtOvmuOj+3yir+4wpR6waMS VZR1HyyRUv+g1fxgCOCWPBX2vPQDKf5fUR2v62usNQGeRrlKlWXaKUpcUH91ctQzS0gd 2+hpgslbuUC4Ub6bhmIE+kto2qQZCyssKoLak8az8CPJm6Dkk6Z5YWCqr5PpDiS7wIPK ANkw== X-Gm-Message-State: AOJu0Yy/ObHrbM+LQeksJFtCW5aybPsfK8283RVaKyCu1IuSSByzcmuJ CGk1St8+iX6X8/W4fioOvxFtqE247+yfrFm1jIUaVkNZDyFWPhJtIy+VcIJBU4WGDyTx1WMTKpM 04DmsR10mFVB3o8vYwoPwO8vSLKdoQ8YGemLG4Q== X-Received: by 2002:a05:6a20:e608:b0:19e:a3d8:fb5b with SMTP id my8-20020a056a20e60800b0019ea3d8fb5bmr3344322pzb.56.1707338105218; Wed, 07 Feb 2024 12:35:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jeremy Allison Date: Wed, 7 Feb 2024 12:34:54 -0800 Message-ID: Subject: Re: [RFC PATCH 0/6] async device shutdown support To: linux-nvme@lists.infradead.org, Jeremy Allison , jra@samba.org, rafael@kernel.org, Tanjore Suresh , linux-kernel@vger.kernel.org, djeffery@redhat.com, hch@lst.de Content-Type: text/plain; charset="UTF-8" > This is another attempt to implement an acceptable implementation of async > device shutdown, inspired by a previous attempt by Tanjore Suresh. For > systems with many disks, async shutdown can greatly reduce shutdown times > from having slow operations run in parallel. The older patches were rejected, > with this new implementation attempting to fix my understanding of the flaws > in the older patches Hi David, It may have escaped your notice that I was shepherding a newer version of Tanjore's original patchset through the nvme lists already. Please look at version 5 here (I am working on version 6 currently). https://lore.kernel.org/linux-nvme/20240129181953.1183084-1-jallison@ciq.com/ As your work is very similar (although has some of the same problems that people already asked me to fix in earlier versions of the code) maybe we can collaborate on getting a unified version of this work reviewed. Please take a look at the link above, and see if we can merge our efforts. Thanks ! Jeremy Allison / CIQ. Samba Team.