diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-08 16:53:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-10 09:32:31 -0600 |
commit | afd35c4f573d7eb1df9dbb7e0af0f4d93bd01f31 (patch) | |
tree | 26c616070d01bad16878cbfebfa34e9cc75bded2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 471bd0af544bcd80450d61659a1ffabdd1820d7d (diff) |
sr: use bdev_check_media_change
Switch to use bdev_check_media_change instead of check_disk_change and
call sr_block_revalidate_disk manually. Also add an explicit call to
sr_block_revalidate_disk just before disk_add() to ensure we always
read check for a ready unit and read the TOC and then stop wiring up
->revalidate_disk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions