From: Demi Marie Obenour <demi@invisiblethingslab.com>
To: DeCay <decayhonor@gmail.com>,
Zdenek Kabelac <zdenek.kabelac@gmail.com>,
linux-lvm@lists.linux.dev
Subject: Re: LVM2 headers
Date: Tue, 4 Mar 2025 18:48:42 -0500 [thread overview]
Message-ID: <Z8eRZnRMMsz1-slY@itl-email> (raw)
In-Reply-To: <31296432-4239-4daf-a0a4-58fdc7c2d955@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-03-04 23:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 8:29 LVM2 headers DeCay
2025-03-04 14:25 ` Zdenek Kabelac
2025-03-04 17:13 ` DeCay
2025-03-04 23:48 ` Demi Marie Obenour [this message]
2025-03-06 10:36 ` Zdenek Kabelac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z8eRZnRMMsz1-slY@itl-email \
--to=demi@invisiblethingslab.com \
--cc=decayhonor@gmail.com \
--cc=linux-lvm@lists.linux.dev \
--cc=zdenek.kabelac@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).