mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Report sector containing label in verbose message.
This commit is contained in:
parent
453cdee51c
commit
2aa785c85f
@ -374,6 +374,8 @@ static void _unlock_mem(struct cmd_context *cmd)
|
||||
|
||||
static void _lock_mem_if_needed(struct cmd_context *cmd)
|
||||
{
|
||||
log_debug("Lock: Memlock counters: locked:%d critical:%d daemon:%d",
|
||||
_mem_locked, _critical_section_count, _memlock_count_daemon);
|
||||
if (!_mem_locked &&
|
||||
((_critical_section_count + _memlock_count_daemon) == 1)) {
|
||||
_mem_locked = 1;
|
||||
@ -383,8 +385,8 @@ static void _lock_mem_if_needed(struct cmd_context *cmd)
|
||||
|
||||
static void _unlock_mem_if_possible(struct cmd_context *cmd)
|
||||
{
|
||||
log_debug("UnlockMem l:%d cs:%d md:%d", _mem_locked,
|
||||
_critical_section_count, _memlock_count_daemon);
|
||||
log_debug("Unlock: Memlock counters: locked:%d critical:%d daemon:%d",
|
||||
_mem_locked, _critical_section_count, _memlock_count_daemon);
|
||||
if (_mem_locked &&
|
||||
!_critical_section_count &&
|
||||
!_memlock_count_daemon) {
|
||||
|
Loading…
Reference in New Issue
Block a user