Skip to content

Eliminate floating-point comparisions

Mike Snitzer lvm-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Avoid depending on comparison of floating-point values.lib/activate/activate.c lib/activate/dev_manager.c lib/display/display.c +7 more+86 -710 replies
2/2Change copy_percent to returned a defined TARGET_STATUS_*lib/metadata/metadata-exported.h lib/metadata/mirror.c lib/report/report.c +1 more+9 -70 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMike Snitzer
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Eliminate floating-point comparisions

This patchset cleans up LVM2 to use well defined states for comparisions rather than rely on floating point comparisions.

This was done as part of the LVM2 snapshot-merge work.

v2: adjusts the patches to apply to the latest 2.02.54-cvs; but an
enumerated type hasn't been introduced in the first patch...