-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Illumos 4958, 5164, 5165 #2697
Illumos 4958, 5164, 5165 #2697
Conversation
7c72213
to
7e31172
Compare
@behlendorf This have now been accepted into illumos-gate... |
This depends on https://www.illumos.org/issues/4958, we'll need to port illumos/illumos-gate@2a104a5 before this can be merged. |
As an aside, we really need to come up with some system for tracking which Illumos patches we have merged and which ones we haven't. |
@behlendorf Do you want that into a separate PR or is it ok to put it in this one? It might also be dependent on something more. It (Illumos 4958) removes |
|
@FransUrbo @kpande what would be idea (at least from my point of view) is if we could automate the process of automatically creating a new issue in the ZoL tracker for each change as it's merged in to Illumos. Arguably we should be more involved in the entire review process going on for Illumos but there are only so many hours in the day. |
It's OK to put it in this pull request, just make sure it's a separate patch.
Support for ZIO_FLAG_FASTWRITE was never pushed upstream to Illumos and they never spent the time to port it. It's a Linux-only feature at the moment. |
7e31172
to
a52be42
Compare
Ok, so should we keep that then? |
Yes. It's something we need to keep in mind when porting the patch. |
a52be42
to
c098971
Compare
Ok, I put back |
But I hacked this http://bayour.com/misc/tail-illumos-gate-commits.txt real quick. It will get a list of commits since last check (configured in /var/cache/illumos-gate) and will send them as separate mails (starting with the OLDEST it find).= |
Right. We'd want to somehow restrict this to zfs related changes. |
@behlendorf I've updated it to do simple check and see if it's relevant. |
Neat, I'll check it out. It would be great if we could automate the majority of this process. Even if it isn't foolproof. |
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Max Grossman <max.grossman@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org> References: https://www.illumos.org/issues/4958 illumos/illumos-gate@2a104a5 Porting notes: Keep the ZIO_FLAG_FASTWRITE define, because that is used in Linux but not in *BSD. Ported by: Turbo Fredriksson <turbo@bayour.com>
c098971
to
0f97a0e
Compare
5164 space_map_max_blksz causes panic, does not work 5165 zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature Reviewed by: George Wilson george.wilson@delphix.com Reviewed by: Christopher Siden christopher.siden@delphix.com References: https://www.illumos.org/issues/5164 https://www.illumos.org/issues/5165 illumos/illumos-gate@b1be289 Ported by: Turbo Fredriksson <turbo@bayour.com>
@behlendorf I've added my "check illumos commits" script to my scripts repo - https://github.com/FransUrbo/scripts/blob/master/tail-illumos-gate-commits.pl. I've updated it somewhat to also include the issue link(s) in the mail. I've started running this on my own machine once a day to see it "in action"... |
@FransUrbo Regarding a "check illumos commits" script, I took at look at what you've written and it's a nice start. What I was thinking would be nice first step would be to add a utility like this to the
This might provide as a sane way to track what has and has not been pulled in from Illumos. If we wanted to go one step further we could extend it to attempt to auto-generate patches from those commits which apply. What do you think? Also, I should be able to get these changes merged today. I've tweaked thing slightly and assuming testing doesn't uncover anything unexpected they'll go in. |
5164 space_map_max_blksz causes panic, does not work 5165 zdb fails assertion when run on pool with recently-enabled space map_histogram feature Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com> References: https://www.illumos.org/issues/5164 https://www.illumos.org/issues/5165 illumos/illumos-gate@b1be289 Porting Notes: The metaslab_fragmentation() hunk was dropped from this patch because it was already resolved by commit 8b0a084. The comment modified in metaslab.c was updated to use the correct variable name, space_map_blksz. The upstream commit incorrectly used space_map_blksize. Ported by: Turbo Fredriksson <turbo@bayour.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#2697
4958 zdb trips assert on pools with ashift >= 0xe
Reviewed by: Matthew Ahrens mahrens@delphix.com
Reviewed by: Max Grossman max.grossman@delphix.com
Reviewed by: George Wilson george.wilson@delphix.com
Reviewed by: Christopher Siden christopher.siden@delphix.com
Approved by: Garrett D'Amore garrett@damore.org
References:
https://www.illumos.org/issues/4958
illumos/illumos-gate@2a104a5
Porting notes:
Keep the ZIO_FLAG_FASTWRITE define, because that is used in Linux but not in *BSD.
5164 space_map_max_blksz causes panic, does not work
5165 zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature
Reviewed by: George Wilson george.wilson@delphix.com
Reviewed by: Christopher Siden christopher.siden@delphix.com
References:
https://www.illumos.org/issues/5164
https://www.illumos.org/issues/5165
illumos/illumos-gate@b1be289
Ported by: Turbo Fredriksson turbo@bayour.com