Skip to content
Commit bb729bc9 authored by Jens Axboe's avatar Jens Axboe
Browse files

cfq-iosched: use call_rcu() instead of doing grace period stall on queue exit



After the merge of the IO controller patches, booting on my megaraid
box ran much slower. Vivek Goyal traced it down to megaraid discovery
creating tons of devices, each suffering a grace period when they later
kill that queue (if no device is found).

So lets use call_rcu() to batch these deferred frees, instead of taking
the grace period hit for each one.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 846954b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment