Skip to content

mount_action: populate just one device in cache#3

Open
nwf wants to merge 1 commit into
openwrt:masterfrom
nwf:hotplug-accidentally-quadratic
Open

mount_action: populate just one device in cache#3
nwf wants to merge 1 commit into
openwrt:masterfrom
nwf:hotplug-accidentally-quadratic

Conversation

@nwf

@nwf nwf commented Jun 17, 2023

Copy link
Copy Markdown

We're given the device basename as a parameter and then search through the cache to find it. Just load the one device, saving the probes for the ones we don't care about.

FIXES #2

Comment thread block.c Outdated
@nwf nwf force-pushed the hotplug-accidentally-quadratic branch from 2578681 to 914e0a6 Compare June 17, 2023 15:23
Comment thread block.c Outdated
@nwf nwf force-pushed the hotplug-accidentally-quadratic branch from 914e0a6 to 0c49b7f Compare June 24, 2023 03:24
@nwf nwf force-pushed the hotplug-accidentally-quadratic branch from 0c49b7f to a3f2c15 Compare June 2, 2024 04:20
@nwf

nwf commented Jun 20, 2024

Copy link
Copy Markdown
Author

I believe this is ready to go, @dangowrt. Yes?

@nwf

nwf commented Feb 12, 2025

Copy link
Copy Markdown
Author

Ping?

@dangowrt

dangowrt commented Jun 2, 2026

Copy link
Copy Markdown
Member

Thank you for working on this and sorry for the delay in dealing with your contribution. The commit lacks a Signed-off-by:-line which is required everywhere in OpenWrt as per the contribution guidelines. Please add it, otherwise the change looks good and should go in.

We're given the device basename as a parameter and then search through
the cache to find it.  Just load the one device, saving the probes for
the ones we don't care about.

FIXES openwrt#2

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
@nwf nwf force-pushed the hotplug-accidentally-quadratic branch from a3f2c15 to 6e928f1 Compare June 2, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Block hotplug is accidentally quadratic

2 participants