Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp563549rdh; Wed, 7 Feb 2024 12:55:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVZlEg1Cd5QCBWtfrw1zayzMXunKo5snhD5WRZhuKGTBbvsQVahzVZO6wt/fGcKd7B+DXOZKIg/0zRW4pxdoo28Il9Ei4YICw7CBRZyAQ== X-Google-Smtp-Source: AGHT+IHmr/B/HJ7+qFWbQqIm3l2VO4jxhH3mjSZRnsh435SvBT4/aIccHuEeRnHVaEhKdE56M4iG X-Received: by 2002:ac2:5967:0:b0:511:69f8:c4be with SMTP id h7-20020ac25967000000b0051169f8c4bemr1089292lfp.22.1707339327836; Wed, 07 Feb 2024 12:55:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707339327; cv=pass; d=google.com; s=arc-20160816; b=R/xPjYW+hxuyhB9MXv7i3CzioxKiJMuJAo8Ay8A/Jiu6lFywYIzxQrDhlM5mR/CHU8 XqNyIuNu+kW1kLJ7gGLPepsoFZolE4KqHQFMoDOOhimO+CCPKfsYbLcAajTNKI6xqwtr 6RdwQdlywsSOtWO+0uyIsF0BHVVHKYoUuKtAMJ90wKlg9kpiPpJEqTs9447okhf2eaj8 J5Z0lGjoEBz/aunB6XVRsZ9d2ru3tu5d/4ZlE7G8U3xRcHze72SmDA/hnx6VofDk5pVN Hqfhs9U/UTnlm1+kFuxeSKaUTRpkBdkTuKaORdsIUobsqMxwzd02jvWjhw3lipwfGpaY 9JvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:reply-to:message-id:subject:to:from:date :dkim-signature; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; fh=HtEGN2rrOB7pzB+9UAhXsuXmJS7eyMDFx51HcWFTU1Q=; b=dzy0XeM1LWs+j8h3VW7Icwa3I7CKZxlcVHA4YbHU/ZmTI/hhiPUZcTMF3+C8pZnGbs kgJTBWHZ+OGhs1tGm8sMIS8atzJR86cEM31y3EZ/T3VH6kyGab/5uD0o06HXlBPrLeU0 h3Wo+VsgZF8huRlrtl2OLC5tb7okLu6Kc20sOfW37HZZkN4n8UYTn31/vkU5QjEksLyP GjoZuIhvTQWl+XaDMADqH2SzqmDxG4/s9hMRmaZkLWdZw52IKy5rwVMBDpfT5YCWn6Z8 y2Lqu2vfnJ35p+7MYCGcH8G0xg5sKGF7gxCUX9uR86LwzXAzvKfdV1o6q2C+q6OwTD4W ox1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=104iJj7N; arc=pass (i=1 spf=pass spfdomain=samba.org dkim=pass dkdomain=samba.org dmarc=pass fromdomain=samba.org); spf=pass (google.com: domain of linux-kernel+bounces-57048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org X-Forwarded-Encrypted: i=2; AJvYcCVe4zJ5nNC8OOprdmpBXJkiTaUrFJyUI0vFkUAqcwvglhLBJ7NfYX9CvmOOQ3t3zDA/Xac6RyasI2a9avQ9qm7JJBWnkIaZl39+mf1npg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id pv8-20020a170907208800b00a372760407bsi1283133ejb.906.2024.02.07.12.55.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 12:55:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=104iJj7N; arc=pass (i=1 spf=pass spfdomain=samba.org dkim=pass dkdomain=samba.org dmarc=pass fromdomain=samba.org); spf=pass (google.com: domain of linux-kernel+bounces-57048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.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 817491F2456E for ; Wed, 7 Feb 2024 20:55:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35DE0127B46; Wed, 7 Feb 2024 20:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (3072-bit key) header.d=samba.org header.i=@samba.org header.b="104iJj7N" Received: from hr2.samba.org (hr2.samba.org [144.76.82.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 494008593E for ; Wed, 7 Feb 2024 20:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.76.82.148 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707339317; cv=none; b=Ui87RR41fpmxraN1cSNqKnHX0rPCBMwflfiG/Sq77pJJncHQCGmkFVS97eZAI0JJza1Z/K/R08AX8Zceur8lv9lEpGGz+FeszCPab69wd00Q82Hu9ESbBEtEp1OWZhQ94ry6GXjk0Ft2tmO9edoF9fSo24MllM7w5EifJIQu19M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707339317; c=relaxed/simple; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=lR8Y6+K2qCMWRue7oMV4t+jLw3CV5M9duq7QM2ktF9PhMTXofGFVGYn8eULJsM7/P3cBg+X1pDw4Blp2N7DPO9Ykfrztje/n6zR5NOCarorFY5NH0sQZG5rw9Mq+9kSsRLD18HcSaTgWq+tg91HoJR97zgNVF8qD0oTyVgSGvAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=samba.org; spf=pass smtp.mailfrom=samba.org; dkim=pass (3072-bit key) header.d=samba.org header.i=@samba.org header.b=104iJj7N; arc=none smtp.client-ip=144.76.82.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=samba.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samba.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42; h=Message-ID:To:From:Date:CC; bh=0eve9TSICHlgGWraOmtO+lqctetBC9VEkOfBIvtM2+w=; b=104iJj7NyFHC09OKYx7sqURpGn LoAqNeSHp6PT1d7ICxQkKqgtjjbew25Lbk3+Fwwhouej7+jtN9Tw94BFpJXMGGbPhZnPD4+LOdEts 0jxM+qkYiJrKOh8Yu08xn4GNffUjccjRTncdjY4iCu5dq1wLLcDoV5djIVMmkqmXIDfyNPqPvDS4Z +snKttQnRYfPazWWE9TndLaee4kF9ZdgJttm50Ys36fL74zyEpseC05kk2gvA4iCAEMpWxrbUEHfD qi76KTNHtamhZv2MhtYMjzlYMKNmPyX6nFahCWFCPfZt6+6t5Hbn77NnyfPGzWcczY/Mo2Q9ke3jn w5Y9A/pZ+TasKLn8ZPaJp88sdCFFTzRESmLnRhiCGqwNbanpPm5LSRT5agAGgfSgC7LOPGaoqSYIc oWrfX7sOCzoMxkdYPFfBrxzjlZe7YQQF1ioShzIcMWhyWuZAED4SJ0GSid9/kdY4WAxslROPW8RWT g7R4wb4vhUwHGDmf0mPMNWlL; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__ECDSA_SECP256R1_SHA256__CHACHA20_POLY1305:256) (Exim) id 1rXoiR-00C0sD-1i; Wed, 07 Feb 2024 20:40:20 +0000 Date: Wed, 7 Feb 2024 12:40:15 -0800 From: Jeremy Allison To: jallison@ciq.com, jra@samba.org, rafael@kernel.org, tansuresh@google.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, djeffery@redhat.com, hch@lst.de, gregkh@linuxfoundation.org Subject: Re: [RFC PATCH 0/6] async device shutdown support Message-ID: Reply-To: Jeremy Allison 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; format=flowed Content-Disposition: inline > 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.