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

Backport 5.12 fixes for tmpiles and userns changes #12139

Merged
merged 2 commits into from
Jun 1, 2021

Conversation

BtbN
Copy link
Contributor

@BtbN BtbN commented May 27, 2021

This backports the changes made in #12087 and #12093, which are necessary for proper 5.12 compat and are thus critical to have for a release that claims to be compatible with 5.12.

@tonyhutter
Copy link
Contributor

Can you make these changes against the zfs-2.0.5-staging branch rather than zfs-2.1-release? You should just be able to change the branch in the github dropdown box. I believe we'll want to have these in the next point release.

@BtbN BtbN changed the base branch from zfs-2.1-release to zfs-2.0.5-staging May 27, 2021 20:56
Linux changed the tmpfile() signature again in torvalds/linux@6521f89,
which in turn broke our HAVE_TMPFILE detection in configure.

Update that macro to include the new case, and change the signature of
zpl_tmpfile as appropriate.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes: openzfs#12060
Closes: openzfs#12087
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
@BtbN BtbN force-pushed the backport-5.12-fixes branch from a85a73e to 068c3af Compare May 27, 2021 20:57
@BtbN
Copy link
Contributor Author

BtbN commented May 27, 2021

I hope they still end up in the next 2.1 rc/release?

@tonyhutter
Copy link
Contributor

The commits look good. I'm just waiting on the builders to finish to approve.

We don't have a -staging branch for 2.1 yet since it's going though -rc iterations. @behlendorf can you include this in 2.1.0-rc6?

@BtbN
Copy link
Contributor Author

BtbN commented May 28, 2021

I can still reproduce the issue from #12076 with those two commits backported into 2.1, so I'd assume this also isn't enough to fix 2.0. Not sure what's missing though.

Edit: Disregard this, the ebuild is just not running autoreconf after applying the patches.

jonathonf added a commit to jonathonf/pkgbuilds that referenced this pull request May 28, 2021
This includes two further approved backport PRs for the zfs-2.0.5-staging branch
(openzfs/zfs#12139, openzfs/zfs#12141)
and switches compat patches from 12009 to the merged commits.
jonathonf added a commit to jonathonf/pkgbuilds that referenced this pull request May 30, 2021
This includes two further approved backport PRs for the zfs-2.0.5-staging branch
(openzfs/zfs#12139, openzfs/zfs#12141)
and switches compat patches from 12009 to the merged commits.

It also includes bugfix openzfs/zfs#12155 .
jonathonf added a commit to jonathonf/pkgbuilds that referenced this pull request May 30, 2021
This includes two further approved backport PRs for the zfs-2.0.5-staging branch
(openzfs/zfs#12139, openzfs/zfs#12141)
and switches compat patches from 12009 to the merged commits.

It also includes bugfix openzfs/zfs#12155 .
jonathonf added a commit to jonathonf/pkgbuilds that referenced this pull request Jun 1, 2021
This includes two further approved backport PRs for the zfs-2.0.5-staging branch
(openzfs/zfs#12139, openzfs/zfs#12141)
and switches compat patches from 12009 to the merged commits.

It also includes backported bugfix openzfs/zfs#12178 .
jonathonf added a commit to jonathonf/pkgbuilds that referenced this pull request Jun 1, 2021
This includes two further approved backport PRs for the zfs-2.0.5-staging branch
(openzfs/zfs#12139, openzfs/zfs#12141)
and switches compat patches from 12009 to the merged commits.

It also includes backported bugfix openzfs/zfs#12178 .
@tonyhutter tonyhutter merged commit b3f8b10 into openzfs:zfs-2.0.5-staging Jun 1, 2021
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.

3 participants