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

NAS-133615 / None / Revert "Linux: Enable Direct IO by default" #268

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

ixhamza
Copy link

@ixhamza ixhamza commented Jan 17, 2025

Motivation and Context

Reverting Direct IO enablement after encountering kernel panic during NVIDIA driver installation through systemd-sysext (similar to OpenZFS Issue #16956). Additionally, multiple upstream bugs have been reported related to Direct IO after its enablement.

Description

How Has This Been Tested?

  • CI Testing
  • Scale Build
  • API Tests seems to be failing unrealted to this changeset. Same python exception in recent master/INCREMENTAL as well, @yocalebo:
+ sudo ixnode create --iso /data/ISO/api_tests/2634/install.iso --nickname=api_tests__2634 --ha
[Pipeline] sh
+ sudo ixnode boot ha001 --wait
Traceback (most recent call last):
  File "/usr/local/bin/ixnode", line 33, in <module>
    sys.exit(load_entry_point('ixnode==0.1.2', 'console_scripts', 'ixnode')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/ixnode-0.1.2-py3.11.egg/ixnode/ixnode.py", line 1598, in main
  File "/usr/local/lib/python3.11/dist-packages/ixnode-0.1.2-py3.11.egg/ixnode/ixnode.py", line 1025, in ixnode_boot
  File "/usr/local/lib/python3.11/dist-packages/ixnode-0.1.2-py3.11.egg/ixnode/expect.py", line 242, in wait_for_boot
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 343, in expect
    return self.expect_list(compiled_pattern_list,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 372, in expect_list
    return exp.expect_loop(timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
    return self.timeout(e)
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
    raise exc
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7f90055bb710>
command: /usr/bin/virsh
args: ['/usr/bin/virsh', 'console', 'ha001_c1']
buffer (last 100 chars): b' 42, in _create_arguments\r\n    if item["type"] != "object":\r\n       ~~~~^^^^^^^^\r\nKeyError: \'type\'\r\n'
before (last 100 chars): b' 42, in _create_arguments\r\n    if item["type"] != "object":\r\n       ~~~~^^^^^^^^\r\nKeyError: \'type\'\r\n'
after: <class 'pexpect.exceptions.TIMEOUT'>

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

This reverts commit bc06d81.

Signed-off-by: Ameer Hamza <[email protected]>
@ixhamza ixhamza requested review from amotin and yocalebo January 17, 2025 11:12
@bugclerk bugclerk changed the title Revert "Linux: Enable Direct IO by default" NAS-133615 / None / Revert "Linux: Enable Direct IO by default" Jan 17, 2025
@bugclerk
Copy link

@ixhamza ixhamza requested a review from usaleem-ix January 17, 2025 11:13
@amotin amotin merged commit a0fd93a into truenas/zfs-2.3-release Jan 17, 2025
38 of 40 checks passed
@amotin amotin deleted the NAS-133615 branch January 17, 2025 14:30
@bugclerk
Copy link

Not updating JIRA ticket https://ixsystems.atlassian.net/browse/NAS-133615 target versions as no JIRA version corresponds to this PR

@bugclerk
Copy link

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants