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

Dracut module & gentoo init tweaks, doc'd & cleaned up #307

Closed
wants to merge 3 commits into from

Conversation

pendor
Copy link
Contributor

@pendor pendor commented Jul 4, 2011

Hopefully this is a bit cleaner. I'm still re-getting the hang of git. I've been stuck in SVN-land for too long....

Three separate commits now:

37d7a49 - Adjust Gentoo initscripts to move z* utils out of /usr & handle pools still mounted at shutdown better (IE rpool)

fad1a79 - Dracut module changes for dracut-010 & fit Dracut's rules for when modules are guaranteed to be loaded. Also avoids importing & re-exporting pools unless necessary. Added parsing of spl_hostid from command line, inclusion of /etc/hostid file from live system, and zfs_force flag to zpool import -f if necessary.

393645f - Documentation for above.

I'm starting to rebuild a system from scratch now & will document steps from bare metal to use the above.

pendor added 3 commits July 4, 2011 13:15
… fatal if umount fails at shutdown -- final init remount will take care of it if /usr or / are in use
… boot to fail on MP systems.

Add support for zfs_force flag & parsing of spl_hostid from kernel command line.
@behlendorf
Copy link
Contributor

This is great, thanks for adding the documentation and cleaning up the commits. It made everything much easier to review.

For the moment, I've pulled your commits in to a dracut branch on Github while I do a little testing. The only changes I made were some whitespace fixes flagged by git. I also updated the README.dracut.markdown to wrap at 79 characters so it can be read easily in a text editor.

https://github.com/behlendorf/zfs/tree/dracut

Assuming everything tests out well, and you don't have any additional fixes I'll pull it in to master on Tuesday.

@behlendorf
Copy link
Contributor

Done, your changes have been merged in to the master branch.

@behlendorf behlendorf closed this Jul 6, 2011
kernelOfTruth pushed a commit to kernelOfTruth/zfs that referenced this pull request Mar 1, 2015
torvalds/linux@24f7c6 introduced a new shrinker API while
torvalds/linux@a0b021 dropped support for the old shrinker API.
This patch adds support for the new shrinker API by wrapping
the old one with the new one.

This change also reorganizes the autotools checks on the shrinker
API such that the configure script will fail early if an unknown
API is encountered in the future.

Support for the set_shrinker() API which was used by Linux 2.6.22
and older has been dropped.  As a general rule compatibility is
only maintained back to Linux 2.6.26.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#1732
Closes openzfs#1822
Closes openzfs#293
Closes openzfs#307
mmaybee pushed a commit to mmaybee/openzfs that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants