Re: LVM2 headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 04, 2025 at 09:13:54PM +0400, DeCay wrote:
> Interesting, thank you for your answer! Yes, DBus should work for my
> use-case.
> 
> At the same time, I'm looking into lvm2cmd.h right now, but it seems to be
> designed for the CLI `lvm` you mentioned.

LVM2 can't be embedded in an application because there are points where
if LVM crashes, the whole system must be rebooted.  Furthermore, there
are points where accessing memory that is not mlock'd might hang
forever.

If you plan to frequently perform LVM operations, then LVM is probably
the wrong tool for the job.  LVM operations often take 0.3 seconds or
more and are highly disruptive to other I/O on the system.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux