Thread (37 messages) 37 messages, 5 authors, 2021-09-14

Re: [PATCH v2 09/15] leds: trigger: blkdev: Check devices for activity and blink LEDs

From: Marek Behún <kabel@kernel.org>
Date: 2021-09-10 15:12:25
Also in: linux-leds, lkml

On Fri, 10 Sep 2021 10:09:09 -0500
Ian Pilcher [off-list ref] wrote:
On 9/9/21 9:17 PM, Marek Behún wrote:
quoted
So your code allows me to use a partition block device (like sda2) to
register with the blkdev LED trigger, but when I do this, the code will
disregard that I just want the LED to blink on activity on that one
partition. Instead you will blink for whole sda, since you are looking
at stats of only part0.

Am I right?  
You can't add partitions, only whole devices.
But I should be able to, since partition is a block device in /dev.
Any block device from /sys/class/block should be possible to add.

Marek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help