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
NAS-128891 / 24.10 / Remove the logic for creating swap partitions #13695
Conversation
Really nice text :D |
Tests are passing and extra care has been given to ensure nothing has changed wrt to writing partitions in optimal alignment. (We depend on libparted to do this for us btw, no reason to have extra logic on our side) |
src/middlewared/middlewared/plugins/pool_/pool_disk_operations.py
Outdated
Show resolved
Hide resolved
This PR has been merged and conversations have been locked. |
The remnants of this legacy behavior lurks in eldritch obscurity. Those who dare to comprehend its incomprehensible logic fall into a deep state of despair. As I delved into the tangled syntax where logic intertwines with madness, trying to remove this forbidden code seemed to resist, as if it were a living, breathing entity, guarding its existence through screens flickering with cryptic errors and warnings that chill the spine. Alas, the victor of this battle goes to sanity. The war, however, is not over. For this code is a labyrinthine whose tentacles stretch deep into the very fabric of TrueNAS. More changes will be needed but one must start somewhere.