From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [PATCH] another reader/writer lock for btrfs metadata Date: Mon, 25 Jul 2011 21:28:30 -0400 Message-ID: <1311643645-sup-5605@shiny> References: <1311618006-sup-1777@shiny> Content-Type: text/plain; charset=UTF-8 Cc: linux-btrfs , Tejun Heo To: Chris Mason Return-path: In-reply-to: <1311618006-sup-1777@shiny> List-ID: Excerpts from Chris Mason's message of 2011-07-25 14:34:49 -0400: > Hi everyone, > > I've updated the integration-test branch to use this code instead. It > is a shiny new reader/writer lock built around rw spinlocks. I've > removed all the adaptive spinning and started trusting the hints btrfs > already has about when blocks should block or spin. I tested with lockdep and looks like I've got a bug in btrfs_next_leaf's lockdep handling. So, please don't run this code with CONFIG_DEBUG_LOCK_ALLOC turned on. The bug is only in lockdep mode, so we're fine with it off. I'll fix it up in the morning. -chris