Skip to content

Misc cleanups and optimalisations

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Optimise write of error to _lvm_errmsglib/log/log.c+23 -80 replies
2/8Fix sending random content in the cluster messagelib/locking/cluster_locking.c+4 -20 replies
3/8Proposal - char alignment on wordlibdm/mm/pool.c+2 -20 replies
4/8Use created hash tables for quick check of LV, PV.lib/metadata/metadata.c+43 -480 replies
5/8Simplify boundary checkslibdm/mm/pool-fast.c+3 -30 replies
6/8Use id_equal instead of strncmp()lib/metadata/metadata.c+3 -40 replies
7/8Proposal - avoid parsing same datalib/cache/lvmcache.c lib/cache/lvmcache.h+14 -40 replies
8/8Few more files filtered from memory lockinglib/mm/memlock.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Misc cleanups and optimalisations

Shorter patchset to address few different issue - combined into one patchset - each patch is however separate and unrelated to others.

Zdenek Kabelac (8):
Optimise write of error to _lvm_errmsg
Fix sending random content in the cluster message Proposal - char alignment on word
Use created hash tables for quick check of LV, PV. Simplify boundary checks
Use id_equal instead of strncmp()
Proposal - avoid parsing same data
Few more files filtered from memory locking

 lib/cache/lvmcache.c          |   17 +++++--
 lib/cache/lvmcache.h          |    1 +
 lib/locking/cluster_locking.c |    6 ++-
 lib/log/log.c                 |   31 ++++++++++---
 lib/metadata/metadata.c       |   98 +++++++++++++++++++----------------------
 lib/mm/memlock.c              |    2 +
 libdm/mm/pool-fast.c          |    6 +-
 libdm/mm/pool.c               |    4 +-
 8 files changed, 94 insertions(+), 71 deletions(-)
Signature · 1 line
1.7.4.1