From: Josh Durgin Date: Tue, 22 Nov 2011 01:11:12 +0000 (-0800) Subject: rbd: move snap_rwsem to the device, rename to header_rwsem X-Git-Tag: v3.4-rc1~76^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c666601a935b94cc0f3310339411b6940de751ba;p=pandora-kernel.git rbd: move snap_rwsem to the device, rename to header_rwsem A new temporary header is allocated each time the header changes, but only the changed properties are copied over. We don't need a new semaphore for each header update. This addresses http://tracker.newdream.net/issues/2174 Signed-off-by: Josh Durgin Reviewed-by: Alex Elder --- Reading git-diff-tree failed