diff options
| author | Bart Van Assche <[email protected]> | 2019-09-30 16:00:43 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-10-07 08:31:59 -0600 |
| commit | bae85c156f619939ef6261f1bd4fabbe24361b50 (patch) | |
| tree | c84786cb0148d7e0a5d0ded9b903d6bcc5aeadd8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 9566256518de0520c964bdf23140eac324b136af (diff) | |
block: Remove "dying" checks from sysfs callbacks
Block drivers must call del_gendisk() before blk_cleanup_queue().
del_gendisk() calls kobject_del() and kobject_del() waits until any
ongoing sysfs callback functions have finished. In other words, the
sysfs callback functions won't be called for a queue in the dying
state. Hence remove the "dying" checks from the sysfs callback
functions.
Cc: Christoph Hellwig <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions