All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix RHBZ 754198 (multiple dmeventd snapshot extensions)
@ 2011-11-15 22:00 Petr Rockai
  2011-11-15 22:23 ` Milan Broz
  2011-11-16  1:20 ` Alasdair G Kergon
  0 siblings, 2 replies; 17+ messages in thread
From: Petr Rockai @ 2011-11-15 22:00 UTC (permalink / raw)
  To: lvm-devel

Hi,

the attached patch should fix the problem encountered in 754198. Namely,
we failed to reset the percent threshold for the next check after
extending a snapshot. To this end, I have added a special exit code,
ENO_ACTION_NEEDED -- however, this is not absolutely required, and is
only an optimisation. On the other hand, it is likely an important
optimisation, because without this, all snapshots filled above 50 % will
run a LVM command (with all the associated overhead) every 10
seconds. There are more possible uses for this new exit code, so I think
it's a good idea anyway.

Documentation *might* need updating (although it's currently only used
by --use-policies, which is not an entirely user-level option...).

Other than that, the patch is relatively straightforward.

Yours,
   Petr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmeventd-snapshot-fix.diff
Type: text/x-diff
Size: 3791 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20111115/7bbcffad/attachment.bin>
-------------- next part --------------

-- 
id' Ash = Ash; id' Dust = Dust; id' _ = undefined

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-11-18 21:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 22:00 [PATCH] Fix RHBZ 754198 (multiple dmeventd snapshot extensions) Petr Rockai
2011-11-15 22:23 ` Milan Broz
     [not found]   ` <20111116000020.GA3294@agk-dp.fab.redhat.com>
2011-11-16  9:30     ` Petr Rockai
2011-11-16  9:44       ` Zdenek Kabelac
2011-11-16 10:28       ` Alasdair G Kergon
2011-11-16  1:20 ` Alasdair G Kergon
2011-11-16  9:41   ` Petr Rockai
2011-11-16 10:59     ` Alasdair G Kergon
2011-11-16 13:07       ` Alasdair G Kergon
2011-11-18  9:52         ` Petr Rockai
2011-11-18 17:14           ` Zdenek Kabelac
2011-11-18 19:46             ` Petr Rockai
2011-11-18 19:56               ` Alasdair G Kergon
2011-11-18 20:28                 ` Petr Rockai
2011-11-18 21:19                   ` Petr Rockai
2011-11-18 20:48               ` Zdenek Kabelac
2011-11-18 20:53                 ` Alasdair G Kergon

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.