diff options
author | 2021-07-13 01:05:29 +0200 | |
---|---|---|
committer | 2021-08-02 13:37:28 -0600 | |
commit | e6138dc12de9df17cbda9c40314d69592855ac5e (patch) | |
tree | 99a181542ec3a0328a4fbb28a51b53834fc52813 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: export diskseq in sysfs (diff) | |
download | wireguard-linux-e6138dc12de9df17cbda9c40314d69592855ac5e.tar.xz wireguard-linux-e6138dc12de9df17cbda9c40314d69592855ac5e.zip |
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