Skip to content

pdc metadata bug fix

NeilBrown dm-devel 1 version Applied

Status from this message: Applied to the sources repository.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1Ensure metadata dump of pdc metadata has the correct offset.1.0.0.rc16/lib/format/ataraid/pdc.c+4 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH dmraid 0/1] pdc metadata bug fix

Hi,
the follow patch fixes a bug with pdc metadata handling, as described in that patch.

I noted on reading the code that if pdc_read_metadata finds the metadata at and address listed in begin_sectors, info->u32 is set to an offset from the start of the device, rather than from the end, and then the use of info->u32 in setup_rd becomes incorrect.
I didn't try to fix this as I don't know all the implications of a 'begin_sectors' address being used.

Thanks,
NeilBrown