Hi everyone,

a project I started years ago (the original Phab is dated March 2019…) is a port of Solid’s UDisks2 backend to DBus Object Manager. Rather than fetching properties for a device (with lovely blocking DBus calls) for every device, this has it fetch all of them at once and then only monitor updates.

This significantly improves e.g. startup performance of Dolphin and others using it.

However, it is quite invasive and hardware is horrible, and since Frameworks doesn’t do Betas and Solid is used everywhere and crashes there will have horrendous consequences, I have been too scared to merge it.

Therefore, call for testing: please give it a go and see if it breaks anything for you, particularly if you use special or antiquated hardware. Optical media is particularly awful because it is drive + media. A USB stick just disappears when you unplug it, a CD drive remains but its contents (unless you yank the cable out of the drive). There’s Data CDs (with Filesystem) and also Audio CDs (without) and then there’s Mixed Mode CDs that are both /o\ Encrypted storage is similarly annoying because it’s a container + a partition within.

https://invent.kde.org/frameworks/solid/-/merge_requests/158

I’d really like to get this in sometime and not let it rot for another half a decade.

Thanks
Kai Uwe

PS: If someone knows if there’s a fake udisks (or willing to script one in Python or something) we could use for some autotests, that would be lovely. I found one for udev that lets you play events but nothing that would simulate a udisks DBus interface.

Reply via email to