[lvm-devel] [RFC PATCH] Reduce noise about missing devices.
Petr Rockai
prockai at redhat.com
Wed Apr 28 15:18:40 UTC 2010
Hi,
Petr Rockai <prockai at redhat.com> writes:
> Another possible approach (one that I would probably prefer) is to add a
> global log_error_once to log.c that would maintain a dm_hash_table of
> error messages and downgrade already-reported errors to log_debug or
> log_very_verbose automatically. A few error paths could use this.
here's a patch that implements this. I think this is fairly reasonable
and could be checked in. Some minor function renaming might be
necessary.
Yours,
Petr.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_error_once.diff
Type: text/x-diff
Size: 5980 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100428/a4a1610f/attachment.bin>
More information about the lvm-devel
mailing list