1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-23 13:57:47 +03:00
Zdenek Kabelac 6365f011b0 locking: introduce prioritized_section
Introduce prioritized_section() as a closer match to previous logic
of critical_section() that has been held over longer sequence of
ioctl commands - essentially it's matching operation on a single
cookie.

While 'critical_section()' now corresponds to locked memory - we hold
this memory only between suspend/resume thus notion of 'cookie' was
lost.

This patch restores some logic unintentionaly lost with dropping
memory locking for just activation/deactivation calls.
2018-03-15 10:59:42 +01:00
..
2018-03-13 12:58:57 +01:00
2017-06-22 20:17:18 +02:00
2016-04-29 19:47:15 +01:00
2016-01-21 12:11:37 +01:00
2018-02-28 21:15:55 +01:00
2016-01-21 12:11:37 +01:00
2018-03-06 15:40:34 +01:00
2018-03-15 10:59:42 +01:00
2016-01-21 12:11:37 +01:00
2018-02-28 21:05:18 +01:00
2016-10-03 17:49:56 +02:00