-
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
Add enumerated vdev names to 'zpool iostat -v' and 'zpool list -v' #13031
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akashb-22
force-pushed
the
vdev_enum
branch
3 times, most recently
from
February 1, 2022 09:18
f025ed4
to
1fc3dd0
Compare
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Issue openzfs#12510
ghoshdipak
approved these changes
Feb 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and the output is aligned with zpool status.
behlendorf
approved these changes
Feb 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks adding this support to make the output consistent.
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 10, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 14, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 16, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 17, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
nicman23
pushed a commit
to nicman23/zfs
that referenced
this pull request
Aug 22, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
nicman23
pushed a commit
to nicman23/zfs
that referenced
this pull request
Aug 22, 2022
This commit adds enumerated names to disambiguate between the different vdevs. Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows the enumerated vdev names. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com> Signed-off-by: Akash B <akash-b@hpe.com> Closes openzfs#12510 Closes openzfs#13031
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 29, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, originates from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 29, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, originates from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 29, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, originates from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 29, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, originates from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 29, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, which originated from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
13 tasks
npc203
added a commit
to npc203/zfs
that referenced
this pull request
Aug 30, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, which originated from openzfs#13031 Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com>
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Sep 15, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, which originated from openzfs#13031 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Akash B <akash-b@hpe.com> Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com> Closes openzfs#13811
beren12
pushed a commit
to beren12/zfs
that referenced
this pull request
Sep 19, 2022
This commit fixes a minor spacing issue caused when enumerating vdev names, which originated from openzfs#13031 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Akash B <akash-b@hpe.com> Signed-off-by: Samuel Wycliffe <samuelwycliffe@gmail.com> Closes openzfs#13811
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds enumerated names to disambiguate between the different vdevs.
Previously only 'zpool status' showed enumerated vdev names, now 'zpool list -v'
and 'zpool iostat -v' also shows the enumerated vdev names.
Signed-off-by: Akash B akash-b@hpe.com
Issue #12510
Motivation and Context
Add enumerated names to (zpool-list, zpool-iostat) commands similar to 'zpool status'.
Description
Currently on issuing zpool-status VDEV_NAME_TYPE_ID name_flags is passed to zpool_vdev_name() while getting the vdev names and this flag is not passed while issuing zpool-list and zpool-iostat commands. Due to this, the top level vdevs do not have the enumerated names in zpool-list and zpool-iostat commands.
Passing VDEV_NAME_TYPE_ID name_flags to zpool_vdev_name() gives enumerated vdev names on zpool-list and zpool-iostat commands.
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.