Re: XFS hung on 2.6.33.3 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

>
>        - use a smaller test file

OK. My theory [based on no evidence] was that it had to be bigger than
RAM size. I'll try less though.

>        - 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?

>        - preallocating the test file with fallocate()

Sure.

>
> Also, it woul dbe interesting to find out if a newer kernel also
> hangs in a similar manner, say 2.6.35?

Will do.

-- 
Ilia Mirkin
imirkin@xxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux