Re: new metadata reader/writer locks in integration-test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.07.2011 08:55, Arne Jansen wrote:
Hi Chris,

On 19.07.2011 19:30, Chris Mason wrote:
Hi everyone,

I've pushed out a new integration-test branch, and it includes a new
reader/writer locking scheme for the btree locks.


I rebased my for-chris branch containing the readahead patches for scrub
to your integration-test branch. It had only trivial conflicts.
Hopefully it can go into 3.1 as well.

The readahead series contained a stupid bug I introduced in v5.
The corrected version is pushed out.


-Arne

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


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux