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

OpenZFS 6404 - zvol_swap_006_pos can occasionally fail due to swaplen… #5792

Closed
wants to merge 1 commit into from

Conversation

gmelikov
Copy link
Member

@gmelikov gmelikov commented Feb 14, 2017

… being < 16

Authored by: Matthew Ahrens mahrens@delphix.com
Reviewed by: George Wilson george.wilson@delphix.com
Reviewed by: John Kennedy john.kennedy@delphix.com
Reviewed by: Will Andrews will@freebsd.org
Approved by: Dan McDonald danmcd@omniti.com
Ported-by: George Melikov mail@gmelikov.ru

OpenZFS-issue: https://www.illumos.org/issues/6404
OpenZFS-commit: openzfs/openzfs@24e268f

… being < 16

Authored by: Matthew Ahrens <mahrens@delphix.com>
6405 zvol test setup is non deterministic
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Ported-by: George Melikov <mail@gmelikov.ru>

OpenZFS-issue: https://www.illumos.org/issues/6404
OpenZFS-commit: openzfs/openzfs@24e268f
@mention-bot
Copy link

@gmelikov, thanks for your PR! By analyzing the history of the files in this pull request, we identified @behlendorf and @ikozhukhov to be potential reviewers.

@gmelikov
Copy link
Member Author

I modified zfs to $ZFS and occasionally recreated most of openzfs/openzfs@258c9c7 . I'll port rest of it after this PR merge.

@behlendorf
Copy link
Contributor

So Illumos 7290 openzfs/openzfs@1d32ba6 is the big change to be aware. OpenZFS decided to change the scheme they're using to locate the binaries to run and updated all of their test cases for the following reasons:

  1. It doesn't constrain the set of allowable commands. New tests can always introduce a utility directly, bypassing the current mechanism.
  2. It leads to errors where $COMMAND is used, but not defined.
  3. A variable referring to a command can be overridden (think export FILE=/tmp/foo)

We're going to need to decide if we're going to pick up this patch and adopt the PATH method. I can't remember any of the concerns above being major pain points for us and it will be fair bit of work to port. But if we don't pull it in all of our test cases will diverge from the OpenZFS versions making it difficult to share tests.

@gmelikov
Copy link
Member Author

My opinion is to make ZoL code as seamless with OpenZFS as we can. I'm ready to work on it.

@behlendorf
Copy link
Contributor

@gmelikov reluctantly I concur. We can't be running such different versions of the test suite. We're going to need to pull it in. We'll want to focus on pulling in the changes made to OpenZFS prior to this commit first to minimize conflicts and then tackle this one.

@ikozhukhov
Copy link
Contributor

ikozhukhov commented Feb 15, 2017 via email

wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
… being < 16

Authored by: Matthew Ahrens <mahrens@delphix.com>
6405 zvol test setup is non deterministic
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: George Melikov <mail@gmelikov.ru>

OpenZFS-issue: https://www.illumos.org/issues/6404
OpenZFS-commit: openzfs/openzfs@24e268f
Closes openzfs#5792

Porting notes:
- Converted zfs to $ZFS until OpenZFS 7290 is ported.
  openzfs/openzfs@1d32ba6
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
… being < 16

Authored by: Matthew Ahrens <mahrens@delphix.com>
6405 zvol test setup is non deterministic
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: George Melikov <mail@gmelikov.ru>

OpenZFS-issue: https://www.illumos.org/issues/6404
OpenZFS-commit: openzfs/openzfs@24e268f
Closes openzfs#5792

Porting notes:
- Converted zfs to $ZFS until OpenZFS 7290 is ported.
  openzfs/openzfs@1d32ba6
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.

None yet

5 participants