pmem / pmdk

Persistent Memory Development Kit

Home Page:https://pmem.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libpmempool needs checks and tests for `PMEMPOOL_POOL_TYPE_RESERVED*` values

janekmi opened this issue · comments

Rationale

Having a nice simple check for this kind of value and a clear message will surely keep users informed in the clearest way possible that some values have been deprecated and decommissioned.

Implementation

Maybe libpmempool_api/TEST8 could be reused for this purpose:
https://reviewable.io/reviews/pmem/pmdk/5745#-NYsf-ez2RsdtQu45uWk