Re: btrfs crash

2010-11-20 Thread Chris Mason
Excerpts from Ravi Pinjala's message of 2010-11-14 12:31:35 -0500: > I got the following crash on one of my Ceph nodes this morning. I > don't know how to reproduce it yet; I was just wondering if it was a > known issue. This is with the latest kernel for Ubuntu 10.10. > > Nov 13 19:21:21 alpha ke

[PATCH] btrfs: make 1-bit signed fileds unsigned

2010-11-20 Thread Mariusz Kozlowski
Fixes these sparse warnings: fs/btrfs/ctree.h:811:17: error: dubious one-bit signed bitfield fs/btrfs/ctree.h:812:20: error: dubious one-bit signed bitfield fs/btrfs/ctree.h:813:19: error: dubious one-bit signed bitfield Signed-off-by: Mariusz Kozlowski --- fs/btrfs/ctree.h |6 +++--- 1 file

Re: lockdep warnings

2010-11-20 Thread Chris Mason
Excerpts from Stephen Hemminger's message of 2010-11-15 15:51:29 -0500: > Running with lockdep I see these warnings (running 2.6.37-rc1) > > It occurred during the time when rsync is running backup. These are false positives, I'll try to fix up the annotations. -chris -- To unsubscribe from this

[PATCH] Btrfs: use dget_parent where we can UPDATED

2010-11-20 Thread Josef Bacik
There are lots of places where we do dentry->d_parent->d_inode without holding the dentry->d_lock. This could cause problems with rename. So instead we need to use dget_parent() and hold the reference to the parent as long as we are going to use it's inode and then dput it at the end. Signed-off