diff options
| author | Jens Axboe <axboe@kernel.dk> | 2021-10-18 19:12:12 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 18:21:42 +0300 |
| commit | bc490f81731e181b07b8d7577425c06ae91692c8 (patch) | |
| tree | abe26a3d3c309e8a5d62e61e50ccd8a13036aebb /tools/lib/api/debug.c | |
| parent | 480d42dc001bbfe953825a92073012fcd5a99161 (diff) | |
| download | linux-bc490f81731e181b07b8d7577425c06ae91692c8.tar.xz | |
block: change plugging to use a singly linked list
Use a singly linked list for the blk_plug. This saves 8 bytes in the
blk_plug struct, and makes for faster list manipulations than doubly
linked lists. As we don't use the doubly linked lists for anything,
singly linked is just fine.
This yields a bump in default (merging enabled) performance from 7.0
to 7.1M IOPS, and ~7.5M IOPS with merging disabled.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions
