Re: sk_lock: inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage

2009-06-08 Thread KOSAKI Motohiro
> On Mon, Jun 08, 2009 at 12:55:18PM +0800, KOSAKI Motohiro wrote: > > Hi > > > > > Hi, > > > > > > This lockdep warning appears when doing stress memory tests over NFS. > > > > > > page reclaim => nfs_writepage => tcp_sendmsg => lock sk_lock > > > > > > tcp_close => lock sk_lock => tcp_send_fi

Re: sk_lock: inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage

2009-06-08 Thread Wu Fengguang
On Mon, Jun 08, 2009 at 12:55:18PM +0800, KOSAKI Motohiro wrote: > Hi > > > Hi, > > > > This lockdep warning appears when doing stress memory tests over NFS. > > > > page reclaim => nfs_writepage => tcp_sendmsg => lock sk_lock > > > > tcp_close => lock sk_lock => tcp_send_fin => alloc_skb_fclon

[PATCH] btrfs: fix write_dev_supers

2009-06-08 Thread Hisashi Hifumi
Hi. I got following BUG trace. This is violation of BUG_ON(!buffer_locked(bh)) check on submit_bh() function. In write_dev_supers(), if wait parameter is set and buffer_uptodate() check is negative, submit_bh() is executed and hit above BUG_ON. So I fixed this issue. Thanks. Jun 9 00:41:32 dl5

New new format branch ready for testing

2009-06-08 Thread Chris Mason
Hello everyone, Yan Zheng sent along an update for the new format patch today, and it slightly changed the disk format for backrefs used when balancing space across drives. We decided against supporting an intermediate format that was only a week old, and his update makes a few important features

Re: [PATCH] Btrfs: fdatasync should skip metadata writeout

2009-06-08 Thread Chris Mason
On Mon, Jun 08, 2009 at 04:50:47PM +0900, Hisashi Hifumi wrote: > Hi. > > In btrfs, fdatasync and fsync are identical. > I think fdatasync should skip committing transaction when > inode->i_state is set just I_DIRTY_SYNC and this indicates > only atime or/and mtime updates. > Following patch impr

Re: New experimental btrfs branch ready for testing

2009-06-08 Thread Yan Zheng
2009/6/2 Chris Mason > > Hello everyone, > > Yan Zheng has been doing some major surgery to the back references and > extent allocation code, tackling bottlenecks in the code that tracks > extents.  It scales better with many snapshots and performs better in > the common case of no snapshots at al

[PATCH] Btrfs: fdatasync should skip metadata writeout

2009-06-08 Thread Hisashi Hifumi
Hi. In btrfs, fdatasync and fsync are identical. I think fdatasync should skip committing transaction when inode->i_state is set just I_DIRTY_SYNC and this indicates only atime or/and mtime updates. Following patch improves fdatasync throughput. #sysbench --num-threads=16 --max-requests=1 --