pmdk icon indicating copy to clipboard operation
pmdk copied to clipboard

PMEM2_E_GRANULARITY_NOT_SUPPORTED undocumented as return value from pmem2_map_new()

Open grom72 opened this issue 2 years ago • 0 comments

ISSUE: PMEM2_E_GRANULARITY_NOT_SUPPORTED undocumented as return value from pmem2_map_new()

Environment Information

  • PMDK package version(s): source code

Please provide a reproduction of the bug:

Compare manuals and source code: https://github.com/pmem/pmdk/blob/master/doc/libpmem2/pmem2_map_new.3.md#errors

https://github.com/pmem/pmdk/blob/52197b194c11c0bd384c897421cf7be118b2cc9d/src/libpmem2/map_posix.c#L495

How often bug is revealed: (always, often, rare):

always

Actual behavior:

Undocumented return value: PMEM2_E_GRANULARITY_NOT_SUPPORTED

Expected behavior:

Documented return value: PMEM2_E_GRANULARITY_NOT_SUPPORTED

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (No)

grom72 avatar May 19 '22 12:05 grom72