All of lore.kernel.org
 help / color / mirror / Atom feed
* Reg concurrent access through lvmapp api
       [not found] <5d4d1831.1c69fb81.38595.d627@mx.google.com>
@ 2019-08-12  4:42 ` Lakshmi Narasimhan Sundararajan
  0 siblings, 0 replies; only message in thread
From: Lakshmi Narasimhan Sundararajan @ 2019-08-12  4:42 UTC (permalink / raw)
  To: lvm-devel

Gentle reminder? I would sincerely appreciate clarification on the below.

Regards
LN
Sent from Mail for Windows 10

From: Lakshmi Narasimhan Sundararajan
Sent: Friday, August 9, 2019 12:22 PM
To: lvm-devel@redhat.com
Subject: Reg concurrent access through lvmapp api

Hi Team,
Is concurrent access to operations on lvm through lvm2app api possible?
I expected lvm2app api call to be self aware of multiple operations and lock access internal, but I see some crash while doing device creation/deletion and query in parallel.

So my question is, are basic crud (create/read/update and delete) operations on a vg safe to be operated concurrently through the lvm2app api calls? 
If not, what kind of restrictions does the end app needs to know while using lvm2app api calls?

I also understand that the cli uses a /run/lvm/lvm.lock file to control concurrent access. So does it imply that applications have to enforce serialization? If yes, what are the cases for which this needs to be enforced.

Seeking some clarity on the same.

Regards
LN
Sent from Mail for Windows 10


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20190812/4c1df0fb/attachment.htm>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-12  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5d4d1831.1c69fb81.38595.d627@mx.google.com>
2019-08-12  4:42 ` Reg concurrent access through lvmapp api Lakshmi Narasimhan Sundararajan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.