[PATCH 0/5] reiserfs lock inversion fixes on xattr

From: Frederic Weisbecker
Date: Wed Dec 30 2009 - 15:42:37 EST


Hi,

Christian Kujau's use of dbench to test reiserfs xattr has inspired me.
I tried dbench -x yesterday and got various soft-lockups and lockdep
reports.

I fixed all those I've seen in this batch and it passed through 6 hours
of stress testing (if a loop of dbench -x -t 60 20 can be called stress
testing) and things look pretty fine now.

I hope you can give it a try (and/or review) before I send the whole
to Linus.

Thanks!

It's on:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
reiserfs/kill-bkl

How to get it:

git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
cd linux-2.6.git
git-pull git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git reiserfs/kill-bkl

Frederic Weisbecker (5):
reiserfs: Relax lock before open xattr dir in reiserfs_xattr_set_handle()
reiserfs: Fix unwanted recursive reiserfs lock in reiserfs_unlink()
reiserfs: Fix journal mutex <-> inode mutex lock inversion
reiserfs: Safely acquire i_mutex from reiserfs_for_each_xattr
reiserfs: Safely acquire i_mutex from xattr_rmdir

fs/reiserfs/namei.c | 7 ++++---
fs/reiserfs/xattr.c | 20 ++++++++++++++------
2 files changed, 18 insertions(+), 9 deletions(-)

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