linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* new metadata reader/writer locks in integration-test
@ 2011-07-19 17:30 Chris Mason
  2011-07-20  2:08 ` Tsutomu Itoh
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Chris Mason @ 2011-07-19 17:30 UTC (permalink / raw)
  To: linux-btrfs

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.

-chris

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-07-22 15:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19 17:30 new metadata reader/writer locks in integration-test Chris Mason
2011-07-20  2:08 ` Tsutomu Itoh
2011-07-20  7:58   ` Chris Mason
2011-07-20  8:36     ` Tsutomu Itoh
2011-07-22 15:49       ` Chris Mason
2011-07-20  6:55 ` Arne Jansen
2011-07-20 16:49   ` Arne Jansen
2011-07-20 17:21 ` Chris Mason
2011-07-20 18:51   ` Chris Mason
2011-07-21  4:54     ` Li Zefan
2011-07-21  0:48   ` Tsutomu Itoh
2011-07-21  5:46     ` Arne Jansen
2011-07-22  0:53       ` Chris Mason
2011-07-22  4:06         ` Miao Xie
2011-07-22  9:12           ` Miao Xie
2011-07-21  5:44   ` Arne Jansen
2011-07-22 15:58     ` Arne Jansen
2011-07-22 15:01 ` rw_semaphore performance, was: " Christoph Hellwig
2011-07-22 15:14   ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).