diff options
author | Keith Busch <kbusch@kernel.org> | 2022-09-19 22:45:08 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-09-27 10:15:56 +0300 |
commit | a8eb6c1ba48bddea82e8d74cbe6e119f006be97d (patch) | |
tree | 5b98ed4d75cc60a97952fa479a1ef44f9438a774 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bc8fb906b0ff9339b4286698cb7cd9cd5b8c53eb (diff) | |
download | linux-a8eb6c1ba48bddea82e8d74cbe6e119f006be97d.tar.xz |
nvme: copy firmware_rev on each init
The firmware revision can change on after a reset so copy the most
recent info each time instead of just the first time, otherwise the
sysfs firmware_rev entry may contain stale data.
Reported-by: Jeff Lien <jeff.lien@wdc.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions