block: use singly linked list for bio cache
authorJens Axboe <axboe@kernel.dk>
Wed, 1 Dec 2021 23:19:18 +0000 (16:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 15:43:09 +0000 (08:43 -0700)
commitfcade2ce06ffebee5c2f6629ddbf2086c0f5ba5a
tree9ad08b2c6258c54fd06c26537ab88ffd10f8b039
parent5581a5ddfe8d0ede1749bae1f7662fa739f83813
block: use singly linked list for bio cache

Pointless to maintain a head/tail for the list, as we never need to
access the tail. Entries are always LIFO for cache hotness reasons.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c