1
0
Files
linux/block
Dennis Zhou 6ab2187992 blkcg: clean up blkg_tryget_closest()
The implementation of blkg_tryget_closest() wasn't super obvious and
became a point of suspicion when debugging [1]. So let's clean it up so
it's obviously not the problem.

Also add missing RCU read locking to bio_clone_blkg_association(), which
got exposed by adding the RCU read lock held check in
blkg_tryget_closest().

[1] https://lore.kernel.org/linux-block/a7e97e4b-0dd8-3a54-23b7-a0f27b17fde8@kernel.dk/

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-21 08:47:05 -07:00
..
2018-12-21 08:47:05 -07:00
2018-11-07 13:42:32 -07:00
2018-11-16 08:34:06 -07:00
2018-11-30 14:48:04 -07:00
2018-12-18 17:50:47 +01:00
2018-12-17 11:19:54 -07:00
2018-12-16 19:53:47 -07:00
2018-11-15 12:13:25 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-11-07 13:42:32 -07:00