]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c5dc83ac77e226ce9625a875db6453e193e0234
tree9ad08b2c6258c54fd06c26537ab88ffd10f8b039
parentbb403f90be9dfc26fc938d84b99fa08bf0536356
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