Alison Schofield wrote: [..] > > I notice that the ndctl --media-errors records are: > > > > { offset, length } > > > > ...it is not clear to me that "dpa" and "hpa" have much meaning to > > userspace by default. Physical address information is privileged, so if > > these records were { offset, length } tuples there is the possibility > > that they can be provided to non-root. > > > > "Offset" is region relative "hpa" when listing region media errors, and > > "offset" is memdev relative "dpa" while listing memdev relative media > > errors. > > Done. memdev relative dpa is just dpa right? Unless you are thinking > offset into a partition? I don't think so.
Right, memdev offset == absolute device dpa region offset == region base relative