]> Git Repo - linux.git/commit
rbd: move snap_rwsem to the device, rename to header_rwsem
authorJosh Durgin <[email protected]>
Tue, 22 Nov 2011 01:11:12 +0000 (17:11 -0800)
committerAlex Elder <[email protected]>
Thu, 22 Mar 2012 15:47:52 +0000 (10:47 -0500)
commitc666601a935b94cc0f3310339411b6940de751ba
treeda8afdd9c553dc349f1a1cdd94ab05d4b5dc5449
parent3489b42a72a41d477665ab37f196ae9257180abb
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 <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
drivers/block/rbd.c
This page took 0.047894 seconds and 4 git commands to generate.