From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Elder Subject: Re: [PATCH 0/5] rbd: clean up use of ctl_mutex Date: Fri, 31 May 2013 20:23:59 -0500 Message-ID: <51A94D2F.7060103@inktank.com> References: <51A94BC0.4080703@inktank.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ie0-f175.google.com ([209.85.223.175]:34711 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753129Ab3FABYB (ORCPT ); Fri, 31 May 2013 21:24:01 -0400 Received: by mail-ie0-f175.google.com with SMTP id tp5so5549420ieb.6 for ; Fri, 31 May 2013 18:24:01 -0700 (PDT) Received: from [172.22.22.4] (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id vc15sm5859002igb.7.2013.05.31.18.24.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 18:24:00 -0700 (PDT) In-Reply-To: <51A94BC0.4080703@inktank.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel On 05/31/2013 08:17 PM, Alex Elder wrote: > This series eliminates most uses of the ctl_mutex for locking. > Its precise purpose was always a little fuzzy to me; with this > series in place it is now only used to protect looking up > ceph clients. It also eliminates some lockdep problems > reported at unmap time. These patches are available in the "review/rbd-mutex" branch of the ceph-client git repository. > > -Alex > > [PATCH 1/5] rbd: set removing flag while holding list lock > [PATCH 2/5] rbd: protect against concurrent unmaps > [PATCH 3/5] rbd: don't hold ctl_mutex to get/put device > [PATCH 4/5] rbd: use rwsem to protect header updates > [PATCH 5/5] rbd: take a little credit >