From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 989A3C4338F for ; Tue, 10 Aug 2021 13:49:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 678AC61075 for ; Tue, 10 Aug 2021 13:49:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241885AbhHJNtb (ORCPT ); Tue, 10 Aug 2021 09:49:31 -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-leds@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-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BBBEC4338F for ; Tue, 10 Aug 2021 13:49:25 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF21D60295 for ; Tue, 10 Aug 2021 13:49:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DF21D60295 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mDS82-0000Mq-Q1; Tue, 10 Aug 2021 09:49:14 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mDS7z-0000Mf-Dp for kernelnewbies@kernelnewbies.org; Tue, 10 Aug 2021 09:49:11 -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 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 In-Reply-To: <20210809033217.1113444-2-arequipeno@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: linux-block@vger.kernel.org, axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8428979745827242905==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8428979745827242905== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline --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-- --===============8428979745827242905== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8428979745827242905==--