| To: | Ilia Mirkin <imirkin@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS hung on 2.6.33.3 kernel |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Sat, 7 Aug 2010 20:08:21 +1000 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <AANLkTinhwA1greZdCnoDvd9ieYinhjv0M07sNkbVdy3_@xxxxxxxxxxxxxx> |
| References: | <AANLkTilX3l8TbUztLStj_u9OqOZnBrsNQxmeV4DuBmYJ@xxxxxxxxxxxxxx> <20100718012033.GA18888@dastard> <AANLkTikEv75KRyRTs4awmG894NSKMnBkJNJPYsypMdWf@xxxxxxxxxxxxxx> <20100718235036.GC32635@dastard> <AANLkTi=EzePfBRdEFQo2BRtKy=464Ci6zPG=UyYJiwNp@xxxxxxxxxxxxxx> <20100805062541.GC26402@dastard> <AANLkTinhwA1greZdCnoDvd9ieYinhjv0M07sNkbVdy3_@xxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
On Thu, Aug 05, 2010 at 02:42:38AM -0400, Ilia Mirkin wrote: > On Thu, Aug 5, 2010 at 2:25 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote: > > a couple of things to see if the hang can be caused faster? Maybe > > trying these different initial conditions: > > Together or independently? independently first - then if that does't work, maybe together? > > - allocate the file with worst case fragmentation by > > writing it backwards in synchronous 4k blocks before > > running the test > > I created the file with > > dd if=/dev/zero of=... bs=1M count=... > > How would I "write backwards"? Like truncate and then seek to the end, > write, seek back, write, etc? Is there a utility that might do it > already? For a 1GB file: $ for i in `seq 256000 1 0`; do > dd if=/dev/zero of=testfile bs=4k count=1 seek=$i conv=notrunc,sync > done Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfstests: fix NIS detection damage, Christoph Hellwig |
|---|---|
| Next by Date: | Re: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs, Dave Chinner |
| Previous by Thread: | Re: XFS hung on 2.6.33.3 kernel, Ilia Mirkin |
| Next by Thread: | How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs, Dominik Brodowski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |