1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Disable critical section internal errors until this can be fixed properly

in libdevmapper.
This commit is contained in:
Alasdair Kergon 2011-06-12 00:23:50 +00:00
parent 0a99713ea4
commit 29f2c5ada6
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.86 -
=================================
Downgrade critical_section errors to debug level until it is moved to libdm.
Fix ignored background polling default in vgchange -ay.
Fix pvmove activation sequences to avoid trapped I/O with multiple LVs.
Annotate critical section debug messages.

View File

@ -405,8 +405,9 @@ void critical_section_inc(struct cmd_context *cmd, const char *reason)
void critical_section_dec(struct cmd_context *cmd, const char *reason)
{
/* FIXME Maintain accurate suspended device counter in libdevmapper */
if (!_critical_section_count)
log_error(INTERNAL_ERROR "_critical_section has dropped below 0.");
log_debug("_critical_section has dropped below 0.");
--_critical_section_count;
log_debug("critical_section_dec to %d (%s).", _critical_section_count,
reason);