Re: [BUG] btrfs hangup when we run the sync command

2010-07-21 Thread Hubert Kario
On Thursday 15 July 2010 11:07:07 Miao Xie wrote: On Thu Jul 15 2010 16:14:31 GMT+0800 (CST), Yan, Zheng wrote: 2010/7/15 Miao Xiemi...@cn.fujitsu.com: Hi, everyone I found btrfs will hangup when we run the sync command on my x86_64 box. The reproduce steps is following: #

Re: [BUG] btrfs hangup when we run the sync command

2010-07-19 Thread Miao Xie
On Mon, 19 Jul 2010 14:46:17 +0800, Yan, Zheng wrote: So we must do more check in the mkfs.btrfs to avoid misuse, and I'll add some check of the sectorsize into the mkfs.btrfs. Yes, but this is fixed up with the raid code, we'll allow different page sizes. Is the raid code that you said the

Re: [BUG] btrfs hangup when we run the sync command

2010-07-18 Thread Miao Xie
On Thu, 15 Jul 2010 12:12:13 -0400, Chris Mason chris.ma...@oracle.com wrote: It seems that the btrfs doesn't support the sectorsize which is greater than the page size just like ext2/3/4, though we can use mkfs.btrfs to make a filesystem with a big sectorsize. Am I right? If yes, we must do

Re: [BUG] btrfs hangup when we run the sync command

2010-07-15 Thread Yan, Zheng
2010/7/15 Miao Xie mi...@cn.fujitsu.com: Hi, everyone I found btrfs will hangup when we run the sync command on my x86_64 box. The reproduce steps is following: # mkfs.btrfs -s 8192 -l 8192 -n 8192 /dev/sda1 # mount /dev/sda1 /mnt # echo 1234567 /mnt/aaa # sync (btrfs hangs up) It

Re: [BUG] btrfs hangup when we run the sync command

2010-07-15 Thread Miao Xie
On Thu Jul 15 2010 16:14:31 GMT+0800 (CST), Yan, Zheng wrote: 2010/7/15 Miao Xiemi...@cn.fujitsu.com: Hi, everyone I found btrfs will hangup when we run the sync command on my x86_64 box. The reproduce steps is following: # mkfs.btrfs -s 8192 -l 8192 -n 8192 /dev/sda1 # mount /dev/sda1 /mnt #

Re: [BUG] btrfs hangup when we run the sync command

2010-07-15 Thread Chris Mason
On Thu, Jul 15, 2010 at 05:07:07PM +0800, Miao Xie wrote: On Thu Jul 15 2010 16:14:31 GMT+0800 (CST), Yan, Zheng wrote: 2010/7/15 Miao Xiemi...@cn.fujitsu.com: Hi, everyone I found btrfs will hangup when we run the sync command on my x86_64 box. The reproduce steps is following: #

[BUG] btrfs hangup when we run the sync command

2010-07-14 Thread Miao Xie
Hi, everyone I found btrfs will hangup when we run the sync command on my x86_64 box. The reproduce steps is following: # mkfs.btrfs -s 8192 -l 8192 -n 8192 /dev/sda1 # mount /dev/sda1 /mnt # echo 1234567 /mnt/aaa # sync (btrfs hangs up) It seems that the btrfs doesn't support the sectorsize