diff options
author | Ming Lei <[email protected]> | 2021-11-09 15:11:41 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-11-09 08:14:27 -0700 |
commit | 9ef4d0209cbadb63656a7aa29fde49c27ab2b9bf (patch) | |
tree | e65be820c16cf45837298aeed69984f86cf05aaa /tools/perf/util/trace-event-scripting.c | |
parent | a846a8e6c9a5949582c5a6a8bbc83a7d27fd891e (diff) |
blk-mq: add one API for waiting until quiesce is done
Some drivers(NVMe, SCSI) need to call quiesce and unquiesce in pair, but it
is hard to switch to this style, so these drivers need one atomic flag for
helping to balance quiesce and unquiesce.
When quiesce is in-progress, the driver still needs to wait until
the quiesce is done, so add API of blk_mq_wait_quiesce_done() for
these drivers.
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions