Commit 831ed60
Christoph Hellwig
nvme: also return I/O command effects from nvme_command_effects
To be able to use the Commands Supported and Effects Log for allowing
unprivileged passtrough, it needs to be corretly reported for I/O
commands as well. Return the I/O command effects from
nvme_command_effects, and also add a default list of effects for the
NVM command set. For other command sets, the Commands Supported and
Effects log is required to be present already.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>1 parent 2a459f6 commit 831ed60
1 file changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
1077 | 1089 | | |
1078 | 1090 | | |
1079 | 1091 | | |
1080 | 1092 | | |
1081 | 1093 | | |
1082 | 1094 | | |
1083 | 1095 | | |
| 1096 | + | |
| 1097 | + | |
1084 | 1098 | | |
1085 | 1099 | | |
1086 | | - | |
| 1100 | + | |
1087 | 1101 | | |
1088 | | - | |
1089 | | - | |
1090 | 1102 | | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
1094 | 1114 | | |
1095 | 1115 | | |
1096 | 1116 | | |
| |||
0 commit comments