[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7b5f3509-5bcd-388b-8d3b-4ea95a9483ad@gmail.com>
Date: Mon, 9 Aug 2021 18:50:44 -0500
From: Ian Pilcher <arequipeno@...il.com>
To: Marek BehĂșn <kabel@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>, hch@....de
Cc: pali@...nel.org, linux-block@...r.kernel.org,
linux-leds@...r.kernel.org, axboe@...nel.dk, pavel@....cz,
linux-kernel@...r.kernel.org, kernelnewbies@...nelnewbies.org
Subject: Re: [RFC PATCH v2 00/10] Add configurable block device LED triggers
On 8/9/21 5:43 PM, Marek BehĂșn wrote:
> I confess that I am not very familiar with internal blkdev API.
It's mainly a matter of symbol visibility. See this thread from a few
months ago:
https://www.spinics.net/lists/linux-leds/msg18244.html
Now ... my code currently lives in block/, so there isn't actually
anything technically preventing it from iterating through the block
devices.
The reactions to Enzo's patch (which you can see in that thread) make me
think that anything that iterates through all block devices is likely to
be rejected, but maybe I'm reading too much into it.
Greg / Christoph -
(As you were the people who expressed disapproval of Enzo's patch to
export block_class and disk_type ...)
Can you weigh in on the acceptability of iterating through the block
devices (searching by name) from LED trigger code within the block
subsystem (i.e. no new symbols would need to be exported)?
This would allow the trigger to implement the sysfs API that Marek and
Pavel want.
Thanks!
--
========================================================================
In Soviet Russia, Google searches you!
========================================================================
Powered by blists - more mailing lists