From: Tejun Heo Date: Thu, 8 Mar 2012 18:54:00 +0000 (-0800) Subject: blkcg: remove blkio_group->stats_lock X-Git-Tag: v3.5-rc1~42^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edf1b879e308d37b5b7c414476ab39f79650a253;p=pandora-kernel.git blkcg: remove blkio_group->stats_lock With recent plug merge updates, all non-percpu stat updates happen under queue_lock making stats_lock unnecessary to synchronize stat updates. The only synchronization necessary is stat reading, which can be done using u64_stats_sync instead. This patch removes blkio_group->stats_lock and adds blkio_group_stats->syncp for reader synchronization. Signed-off-by: Tejun Heo Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed