Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3607739pxt; Tue, 10 Aug 2021 07:23:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTxB9MHGCZXSf3g++HUg/3l9xckvoj9L/p5kybXkZGVLcMWOL83gZUeSIB5/dKCWe/zigH X-Received: by 2002:a7b:c144:: with SMTP id z4mr4937129wmi.55.1628605388331; Tue, 10 Aug 2021 07:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628605388; cv=none; d=google.com; s=arc-20160816; b=JTRdN3WOGeQyOPWoM8Sqi3SMxgUrn/XCUukW1GZ8DBJ0NYGoPaUOnUjFtCdPLNYC2x m+yzhCLSltKCnMZcd37ve6LMsyZ2mIPXZgK+mvJUp8zMRHcOBJB4h8qdIyCzXoqWLZk2 zT5RnATlAbEZzUMalJZeZAirgI/Q4IyCYQnqm2cdCIjvqv9q87AoQ9SwS+9kX9sGBbXv aStctDgxZwhZiHK8g0UBlH186KWWwtMXjghqaWRH98PsZc/sDRc6G4wf6+9KIgKP54QL bfydHK4BmDO/HK1/ougKhfTAy7tOLKlsI7Heo3aAGDj5BvCg6TPRXfZn9rQansPEhok1 hfAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=NLlDk8T9EnBhvYB7/X3VHhdm6n0w8y+gPr/2pjJclUQ=; b=iYYBWYRQooqrE+BwxhQHFwaknPn6xH8Yt3JO7WcnD4fG4gOrmDLP0ceri9l/wiWv89 thaRWgt3RU5dgZAe9UUy0x/77JQeqLYyzL2luUp9G8+5x61qMoKseXqmF3zMyDAag8C8 sgbiCvNPAPmP+kXTq0SD9qxoS04zRVXo73N+RsMFeo1ldRXqQyzy7kmdhVQQTeub5gBi EYYsGzDZvKAEyrI02vgs5KvkFdYl/awHJKeN9iGLUPQXd6B7jU3L/sQFL+YC46IcFjKm nlQ+LMIEh30w32iLVfHgJG17UXrdblX0XLEejGoMtHqP/Zh3OU2uPthcZP3bQLJPdP44 lGkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q16si4602392ejx.695.2021.08.10.07.22.42; Tue, 10 Aug 2021 07:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241917AbhHJNtd (ORCPT + 99 others); Tue, 10 Aug 2021 09:49:33 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:59218 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240232AbhHJNtb (ORCPT ); Tue, 10 Aug 2021 09:49:31 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D67F31C0B77; Tue, 10 Aug 2021 15:49:04 +0200 (CEST) Date: Tue, 10 Aug 2021 15:49:04 +0200 From: Pavel Machek To: Ian Pilcher Cc: linux-block@vger.kernel.org, linux-leds@vger.kernel.org, axboe@kernel.dk, linux-kernel@vger.kernel.org, kernelnewbies@kernelnewbies.org Subject: Re: [RFC PATCH v2 01/10] docs: Add block device LED trigger documentation Message-ID: <20210810134904.GA28089@amd> References: <20210809033217.1113444-1-arequipeno@gmail.com> <20210809033217.1113444-2-arequipeno@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <20210809033217.1113444-2-arequipeno@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +++ b/Documentation/ABI/testing/sysfs-block > @@ -316,3 +316,19 @@ Description: > does not complete in this time then the block driver timeout > handler is invoked. That timeout handler can decide to retry > the request, to fail it or to start a device recovery strategy. > + > +What: /sys/block//led > +Date: August 2021 > +Contact: Ian Pilcher > +Description: > + Set the LED associated with this block device (or show available > + LEDs and the currently selected LED, if any). > + > + Reading the attribute will display the available LEDs (LEDs that > + are associated with the blkdev LED trigger). The currently > + selected LED is enclosed in square brackets. To clear the > + device's LED association write 'none' (without the quotes) or > + an empty string/line to the attribute. > + > + See Documentation/ABI/testing/sysfs-class-led-trigger-blkdev and > + Documentation/block/blk-ledtrig.rst.) I have to agree with Marek / Pali -- this is very strange interface. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmESg88ACgkQMOfwapXb+vJV0gCdGqeHkXkz9qAl+6lcbIQnxYAJ liUAoIIpKKVWZ9SEjYxGWwA0VjQRZqWk =I/wx -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--