lvmteam / lvm2

Mirror of upstream LVM2 repository
https://gitlab.com/lvmteam/lvm2
GNU General Public License v2.0
133 stars 72 forks source link

RFE: Native daemon #76

Open DemiMarie opened 2 years ago

DemiMarie commented 2 years ago

This is an RFE for a persistent lvm2 daemon that would take care of actually performing lvm2 operations. The existing lvm2 commands would be changed to perform IPC calls to the daemon, instead of performing the operations themselves.

This has several advantages over the current situation:

It also offers many opportunities for future enhancements:

zkabelac commented 2 years ago

This was always consider as plan B - however this plan B has serious problem - error paths... So while some sort of 'activation' daemon would have been doing a nice work in the world without errors - as soon as you need to start to solve any failure path on suspend/reload - you are running in big problems - and effectively you end with just 'permanently' running full lvm2 command - which then occupies resources forever (kind of dBus interface idea we had - but due to lack of man power and limited knowledge and somewhat technical difficulties on the whole dBus concept - it's ATM just a 'experimental' project)

Since our team is very small and we are quite loaded with a lot of other work, so I'm afraid, this is one of many other RFEs we currently have in our queue as 'nice-to-have'....