diff options
author | Keith Busch <kbusch@kernel.org> | 2022-01-05 20:05:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-01-05 22:25:42 +0300 |
commit | 3764fd05e1f89530e2ee5cbff0b638f2b1141b90 (patch) | |
tree | 12008145c3422e06143814d4242f7a853def1713 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | edce22e19bfa86efa2522d041d6367f2f099e8ed (diff) | |
download | linux-3764fd05e1f89530e2ee5cbff0b638f2b1141b90.tar.xz |
block: introduce rq_list_for_each_safe macro
While iterating a list, a particular request may need to be removed for
special handling. Provide an iterator that can safely handle that.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20220105170518.3181469-3-kbusch@kernel.org
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