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

DLPX-86794 sdb: zio broken after upstream ZFS commit #331

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

sdimitro
Copy link
Contributor

@sdimitro sdimitro commented Jul 5, 2023

Our zio command broke from the commit introduced by the following upstream PR: openzfs/zfs#14948

The problem is that the PR removed io_parent_count from struct zio and we are using this field to find the top-level ZIOs (e.g. ZIOs with no parents) in the system.

This patch changes our SBD command to check whether the io_parent_list is populated instead.

= Github Issue Tracker Automation

Closes #328

Our `zio` command broke from the commit introduced by the following
upstream PR: openzfs/zfs#14948

The problem is that the PR removed `io_parent_count` from `struct zio`
and we are using this field to find the top-level ZIOs (e.g. ZIOs with
no parents) in the system.

This patch changes our SBD command to check whether the `io_parent_list`
is populated instead.

= Github Issue Tracker Automation

Closes delphix#328
@codecov-commenter
Copy link

codecov-commenter commented Jul 5, 2023

Codecov Report

Merging #331 (a0d180a) into develop (0cb4f96) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop     #331      +/-   ##
===========================================
+ Coverage    85.28%   85.31%   +0.03%     
===========================================
  Files           67       67              
  Lines         3064     3071       +7     
===========================================
+ Hits          2613     2620       +7     
  Misses         451      451              
Impacted Files Coverage Δ
sdb/commands/zfs/zio.py 92.85% <100.00%> (+0.79%) ⬆️

@sdimitro sdimitro merged commit 18bd28d into delphix:develop Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'zio_t' has no member 'io_parent_count'
5 participants