diff options
author | Matteo Croce <mcroce@microsoft.com> | 2021-07-13 02:05:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-02 22:37:28 +0300 |
commit | e6138dc12de9df17cbda9c40314d69592855ac5e (patch) | |
tree | 99a181542ec3a0328a4fbb28a51b53834fc52813 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 13927b31b13f3c6556221eff3487247bd3c7a245 (diff) | |
download | linux-e6138dc12de9df17cbda9c40314d69592855ac5e.tar.xz |
block: add a helper to raise a media changed event
Refactor disk_check_events() and move some code into disk_event_uevent().
Then add disk_force_media_change(), a helper which will be used by
devices to force issuing a DISK_EVENT_MEDIA_CHANGE event.
Co-developed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Tested-by: Luca Boccassi <bluca@debian.org>
Link: https://lore.kernel.org/r/20210712230530.29323-6-mcroce@linux.microsoft.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