Skip to content

ioctl: Honor rae in nvme_get_nsid_log#440

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-rae-users
Jul 25, 2022
Merged

ioctl: Honor rae in nvme_get_nsid_log#440
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-rae-users

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Jul 22, 2022

The nvme_get_nsid_log() helper has a rae (Retain Asynchronous Events)
parameter, but we currently ignore this when constructing the Get Log
Page command arguments.

This is a behavior change and not an API change. But the good thing is
only for newly build binaries because all helpers are static inline
fuctions.

Reported-by: Reported-by: Jeremy Kerr jk@codeconstruct.com.au
Signed-off-by: Daniel Wagner dwagner@suse.de

Fixes: #437

BTW, I've decided against updating test/test.c, as I am not sure if this
was intended setting or just set without a lot of thinking.

The nvme_get_nsid_log() helper has a rae (Retain Asynchronous Events)
parameter, but we currently ignore this when constructing the Get Log
Page command arguments.

This is a behavior change and not an API change. But the good thing is
only for newly build binaries because all helpers are static inline
fuctions.

Reported-by: Reported-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
@igaw igaw merged commit 27fb31a into linux-nvme:master Jul 25, 2022
@igaw igaw deleted the fix-rae-users branch July 25, 2022 16:57
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.

nvme_get_nsid_log ignores rae parameter, other log helpers don't.

2 participants