summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDennis Zhou <dennis@kernel.org>2018-10-20 14:56:11 -0400
committerJens Axboe <axboe@kernel.dk>2018-10-20 15:39:54 -0600
commitb2c3fa546705944e748666b474ffdaebaec0569f (patch)
treee55b5f8cb1fd71a8a72013b3bff8147de415b979 /block
parentbbc152825afc869ed6e0b58fdc5e3e477a6c15d5 (diff)
downloadlinux-b2c3fa546705944e748666b474ffdaebaec0569f.tar.gz
linux-b2c3fa546705944e748666b474ffdaebaec0569f.tar.bz2
linux-b2c3fa546705944e748666b474ffdaebaec0569f.zip
blkcg: fix edge case for blk_get_rl() under memory pressure
It is possible for blkg creation to fail when in blk_get_rl(). In this situation, the fallback logic returns the nearest created blkg. There is however special handling for the request_list for the root blkcg. This fixes the missing edge case from the earlier series changing blk_get_rl(). Fixes: e2b0989954ae ("blkcg: cleanup and make blk_get_rl use blkg_lookup_create") Signed-off-by: Dennis Zhou <dennis@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions