From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: new metadata reader/writer locks in integration-test Date: Wed, 20 Jul 2011 14:51:07 -0400 Message-ID: <1311187835-sup-7598@shiny> References: <1311096438-sup-1263@shiny> <1311182478-sup-9986@shiny> Content-Type: text/plain; charset=UTF-8 Cc: linux-btrfs To: Chris Mason Return-path: In-reply-to: <1311182478-sup-9986@shiny> List-ID: Excerpts from Chris Mason's message of 2011-07-20 13:21:47 -0400: > Excerpts from Chris Mason's message of 2011-07-19 13:30:22 -0400: > > Hi everyone, > > > > I've pushed out a new integration-test branch, and it includes a new > > reader/writer locking scheme for the btree locks. > > > > We've seen a number of benchmarks dominated by contention on the root > > node lock. This changes our locks into a simple reader/writer lock. > > They are based on mutexes so that we still take advantage of the mutex > > adaptive spins for write locks (rwsemaphores were much slower). > > > > I'm also sending the individual commits, please do take a look. > > Hi everyone, > > I just rebased Josef's enospc fixes into integration-test, it should fix > the warnings in extent-tree.c And one more rebase to fix the x86-32 problems. -chris