Skip to content

feat: add arbitration command#2832

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
ikegami-t:feat-arb
Jun 30, 2025
Merged

feat: add arbitration command#2832
igaw merged 1 commit intolinux-nvme:masterfrom
ikegami-t:feat-arb

Conversation

@ikegami-t
Copy link
Contributor

Also fixed temp-thresh command string and added get-feature print.

OPT_BYTE("ab", 'a', &cfg.ab, ab),
OPT_BYTE("lpw", 'l', &cfg.lpw, lpw),
OPT_BYTE("mpw", 'm', &cfg.mpw, mpw),
OPT_BYTE("hpw", 'h', &cfg.hpw, hpw));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought -h is for help.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes right. so fixed to -H. Sorry for this error. Thank you.

__u8 ab;
__u8 lpw;
__u8 mpw;
__u8 hpw;
Copy link
Collaborator

@igaw igaw Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just have them in one line.

also reorder deceleration to look more like in inverse christmas tree. E.g

enum nvme_get_features_sel sel = NVME_GET_FEATURES_SEL_CURRENT;
bool save = argconfig_parse_seen(opts, "save");
__u8 ab, lpw, mpw, hpw;
__u32 result;
int err;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easy to read then fixed as mentioned. Thank you.

Also fixed temp-thresh command string and added get-feature print.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
@igaw igaw merged commit ebe366f into linux-nvme:master Jun 30, 2025
17 checks passed
@igaw
Copy link
Collaborator

igaw commented Jun 30, 2025

Thanks!

Sorry for the long delay.

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.

2 participants