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

Fix unavailability to free memory in cache #345

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Swistusmen
Copy link
Contributor

Some day there should be made further investigation in this topic, for .deb we are not able to close this ifdef what causes that we are not able to return control to ioctl, for rpms it looks like it block us from freeing cache.

  • USE_BDOPS_SUBMIT_BIO (kernels with submit_bio based writing >= 5.9)
  • HAVE_FOPS_FALLOCATE- present: ubuntu 20, 22 not present: centos 8 and rhel 9

@@ -119,11 +119,14 @@ int snap_cow_thread(void *data)
cow_free_members(dev->sd_cow);
}

#if defined USE_BDOPS_SUBMIT_BIO && defined HAVE_FOPS_FALLOCATE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copyright change, otherwise a logical catch :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated copyright

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants