blk-throttle: Free up a group only after one rcu grace period
authorVivek Goyal <vgoyal@redhat.com>
Thu, 19 May 2011 19:38:27 +0000 (15:38 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 20 May 2011 18:34:52 +0000 (20:34 +0200)
commit4843c69d496a8d2e4caab6182fe016b9a79136e0
tree0812bb95cfc7769a3ccd90d84f303bed861c9c0a
parent5617cbef7723952cbdff28c7a10ff8a254945f4f
blk-throttle: Free up a group only after one rcu grace period

Soon we will allow accessing a throtl_grp under rcu_read_lock(). Hence
start freeing up throtl_grp after one rcu grace period.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c