The current nvme cli telemetry-log command does not set etdas when retrieving data are 4 of the hos telemetry log. If etdas is not set, then the dalb4 value int the telemetry log header will be 0 and no data will be collected.
My question is should the nvme telemetry code check for da4 support and set the etdas bit in feature 0x16 under the covers? Or should it be the user's responsibility to manually set the etdas bit before executing the telemetry-log command? In my opinion, I think the telemetry-log code should just set it (if da 4 is supported), collect the telemetry log, and then restore it when finished.
The current nvme cli telemetry-log command does not set etdas when retrieving data are 4 of the hos telemetry log. If etdas is not set, then the dalb4 value int the telemetry log header will be 0 and no data will be collected.
My question is should the nvme telemetry code check for da4 support and set the etdas bit in feature 0x16 under the covers? Or should it be the user's responsibility to manually set the etdas bit before executing the telemetry-log command? In my opinion, I think the telemetry-log code should just set it (if da 4 is supported), collect the telemetry log, and then restore it when finished.