From: Dave Chinner Date: Mon, 12 Aug 2013 10:50:08 +0000 (+1000) Subject: xfs: split the CIL lock X-Git-Tag: v3.12-rc1~80^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bb928cdb900d0614f4766d5f1ca5bc3844f7656;p=pandora-kernel.git xfs: split the CIL lock The xc_cil_lock is used for two purposes - to protect the CIL itself, and to protect the push/commit state and lists. These are two logically separate structures and operations, so can have their own locks. This means that pushing on the CIL and the commit wait ordering won't contend for a lock with other transactions that are completing concurrently. As the CIL insertion is the hottest path throught eh CIL, this is a big win. Signed-off-by: Dave Chinner Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed