Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2817516pxm; Mon, 28 Feb 2022 06:42:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAQMoxJhCBEYFSWNwdbS/jhk+vI5xFvjecFX433ox+sThjCfVCaTBjPb9IWXvYk/RM0iRi X-Received: by 2002:a17:906:4a41:b0:6a7:8167:bdb7 with SMTP id a1-20020a1709064a4100b006a78167bdb7mr14926184ejv.745.1646059327470; Mon, 28 Feb 2022 06:42:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646059327; cv=none; d=google.com; s=arc-20160816; b=jDi/4AGIAVTFzbgRguDZ3QY0OKrPXm4xJfWc1JDFi7SJnSHNmvhD4NmBvwxnCStU97 reL+g6x5seCSs3Wlga6Ks1qyiJATwXFpFNrWFNyF90dYq1L7pFlzCxoPPTtTS4YMtD8V 9A8J984Irg5NGRnZJn+JB0RuCFtZuZGvLUU5jBjNHV4WisfBwzV93wPmL7ciuDGgrN41 isBn85ORw+rnO5yiQgsm7n5jo+wtE0mXRO+wLBgnHaqXsZeNZxp+t3E6MCdDncuEnV0o f9zl7yzqGlJwykiR79M5++9sA3qWUxLtZ22YU9ocIYdeQ0M0hULLVIqCboqNUACcSKOF G9qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FzjJyXn/bqOXd4ZYAkke0bU4g6qSzR3Mr9gnRy2DvTg=; b=rORLdzdbavSjR3w1ZKXkpQYKGZMs4UF2uMY2w/UfBilvahg0mNBdiud7Rc1zRQzm3W L2RMmud4+5horpKDTAhcX+tvKef8jkU1f5SvvhH/AHgqwyMiKaNDtFCIpmLYqboStxnA EkgnyGZU0eljSSVN+5UjWvL0n2njlYQV2xllGJs3wA9y4xECrA87BFquiNkToLKfZUoD g9OvypD9OtwWT5Pd44GBRtkmWI5UpnHWfQ0u0bPDLfKEXWDyFCvusnuZwQ0doW+D3/zN WHFFLQKQAeZ47197N6WFPfwa3KOlK/qbd/7AiAgvNCf5xdEjMppVM0QQRqHfnM13T9GR 89aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=emMjftZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a170906430800b006abaed54eb6si6044981ejm.580.2022.02.28.06.41.43; Mon, 28 Feb 2022 06:42:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=emMjftZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232125AbiB1N7l (ORCPT + 99 others); Mon, 28 Feb 2022 08:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbiB1N7l (ORCPT ); Mon, 28 Feb 2022 08:59:41 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6220C52E7F for ; Mon, 28 Feb 2022 05:59:02 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 27so11411095pgk.10 for ; Mon, 28 Feb 2022 05:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=FzjJyXn/bqOXd4ZYAkke0bU4g6qSzR3Mr9gnRy2DvTg=; b=emMjftZwGqnvQ1Csf6dPnjraA5SYoxWJ4upPlVDyELTS1MxrD52sQOVyQQfZHHud9E n4PiZrOVHuD1p30t04u/zokGLZu2h9LHxx06ku9OYQHMky9qrusGrUMoG+0r7qF7dDxQ xvjzoabzSEE01OIot3iNZ2TId9Tc7TmAMm8j4Dnu+EAIg9EnGg1mgrv+ZiCA5xHXoS8l yBkiyjAG9xlxqSDQ/g/I1eEGDJ3N8fQ0fS2Ism64Kf1sIv0Duiwy2zAHnzBr3TU7gei8 O9bA0FehEHNomNs22oJW4kYYQ6Wu7+tQSBrBRU/s55JtsxcErBW2udeVpERkYth/+Gdu HmoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=FzjJyXn/bqOXd4ZYAkke0bU4g6qSzR3Mr9gnRy2DvTg=; b=mI8VD50tMsujAy6OsCZ9Vvv5zCKT087NU7WNGYe2JddFDwsvWZX4swvUtD9J53UGIw /Ux5G8iD5ncajJx9nBbA7nrGrbL2lYyISomY/BtiSPG3g+3HdusNFwbzfzhF7mTXIpp5 qMQW4OH51ennLNKB32rhx0KCviBIzXaCFt+0dFILooUGXfslt5+z6d8q/tz65rKSR7DP MItP4hUoSv1A/8vpz8VTjVBmAH7HauoZO1MrbMR5GcuVserEm9Xy3HMEF0OAbbf1wFc6 DvXMaXZ8t3JeGn7FMIIOseFKg1hDza0LImRIsvb3NjuXEHZSBtihDJB6JPkCVMjAPNSq jPSA== X-Gm-Message-State: AOAM532tcZEKTTzr0Vqc998vlk9awAvnRlyvdoKKYQHq4BtgLVag6uyG bgqMLEVFf8p95JSi9NdlpdqvVA== X-Received: by 2002:a05:6a00:1692:b0:4df:c6b0:2f02 with SMTP id k18-20020a056a00169200b004dfc6b02f02mr21648679pfc.50.1646056741739; Mon, 28 Feb 2022 05:59:01 -0800 (PST) Received: from [192.168.1.100] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id j8-20020a056a00174800b004f26d3f5b03sm14287785pfc.39.2022.02.28.05.59.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Feb 2022 05:59:01 -0800 (PST) Message-ID: <36cfd242-6bb0-0af6-0faf-946c79baa378@kernel.dk> Date: Mon, 28 Feb 2022 06:58:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] nvme-pci: trigger disk activity LED Content-Language: en-US To: Christoph Hellwig , Enzo Matsumiya Cc: linux-nvme@lists.infradead.org, Keith Busch , Jens Axboe , Sagi Grimberg , linux-kernel@vger.kernel.org References: <20220227234258.24619-1-ematsumiya@suse.de> <20220228092215.GA8549@lst.de> From: Jens Axboe In-Reply-To: <20220228092215.GA8549@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/28/22 2:22 AM, Christoph Hellwig wrote: > I don't think we should add code to the absolutel fast path for > blinkenlights. Agree. It'd be a lot better to put the cost on the led trigger side, and not need anything in the fast path for block devices. Monitor disk stats, or something like that. -- Jens Axboe