diff options
author | Josh Durgin <josh.durgin@dreamhost.com> | 2011-11-21 17:11:12 -0800 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 10:47:52 -0500 |
commit | c666601a935b94cc0f3310339411b6940de751ba (patch) | |
tree | da8afdd9c553dc349f1a1cdd94ab05d4b5dc5449 /fs/ceph/super.c | |
parent | 3489b42a72a41d477665ab37f196ae9257180abb (diff) | |
download | linux-stable-c666601a935b94cc0f3310339411b6940de751ba.tar.gz linux-stable-c666601a935b94cc0f3310339411b6940de751ba.tar.bz2 linux-stable-c666601a935b94cc0f3310339411b6940de751ba.zip |
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 <josh.durgin@dreamhost.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions