Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid heap size when creating a new pool on a used-before devdax. #6012

Open
grom72 opened this issue Feb 16, 2024 · 1 comment
Open

Invalid heap size when creating a new pool on a used-before devdax. #6012

grom72 opened this issue Feb 16, 2024 · 1 comment
Labels
DAOS DAOS-related Priority: 1 urgent Type: Bug A previously unknown bug in PMDK
Milestone

Comments

@grom72
Copy link
Contributor

grom72 commented Feb 16, 2024

ISSUE: Invalid heap size when creating a new pool on a used-before devdax.

Environment Information

  • PMDK package version(s):
  • OS(es) version(s):
  • ndctl version(s):
  • kernel version(s):
  • compiler, libraries, packaging and other related tools version(s):

Please provide a reproduction of the bug:

pmempool_transform/TEST9 pmemobj9.log <libpmemobj>: <1> [heap.c:539 zone_calc_size_idx] assertion failure: heap_size >= zone_id * (sizeof(struct zone) + sizeof(struct chunk) * ((65535) - 7))

The problem has been solved by changing the order of devdax devices in test config file.

It seems that in some scenarios "old data" was treated as new data and not initialized from scratch.

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

Actual behavior:

Expected behavior:

Details

Additional information about Priority and Help Requested:

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

Requested priority: (Showstopper, High, Medium, Low)

@grom72 grom72 added Priority: 2 high Type: Bug A previously unknown bug in PMDK labels Feb 16, 2024
@grom72 grom72 added this to the 2.1.1 milestone Feb 16, 2024
@janekmi
Copy link
Contributor

janekmi commented Feb 16, 2024

When the original order of Device DAXes was restored, the issue did not reproduce anymore.

@grom72 grom72 modified the milestones: 2.1.1, 2.x Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DAOS DAOS-related Priority: 1 urgent Type: Bug A previously unknown bug in PMDK
Projects
None yet
Development

No branches or pull requests

2 participants