On Tue, 2006-10-24 at 18:22 -0400, Chris Mason wrote: > On Tue, Oct 24, 2006 at 02:52:03PM -0700, Badari Pulavarty wrote: > > > > > > Thanks, I missed an i_mutex change. Let me audit mutexes coming in and > > > out again and resend. > > > > > > I think the new rules should be: > > > > > > reads: don't need i_mutex at all > > > writes: don't need i_mutex for io inside i_size. > > > > > > Oh, and don't mess with i_mutex under DIO_OWN_LOCKING. > > > > No problem. > > > > I ran into one more nasty looking bug .. > > Neat. Which fsx command line did you use? > Not sure exactly which one .. but one of these :) ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -n -N 10000 test/junkfile ./fsx-linux -r 4096 -N 10000 test/junkfile ./fsx-linux -r 2048 -N 10000 test/junkfile ./fsx-linux -b 1000 -N 10000 test/junkfile ./fsx-linux -s 1 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 2048 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 2048 -t 2048 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -A -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -A -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -A -O -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -A -O -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -A -S 0 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -A -S 2000 -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -W -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -W -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -W -A -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -W -A -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -A -R -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -A -R -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -t 2048 -w 2048 -Z -R -W -N 10000 test/junkfile ./fsx-linux -l 500000 -r 4096 -w 4096 -Z -R -W -A -N 10000 test/junkfile ./fsx-linux -A -N 10000 test/junkfile ./fsx-linux -N 10000 test/junkfile ./fsx-linux -N 10000 test/junkfile ./fsx-linux -N 10000 test/junkfile ./fsx-linux -N 10000 test/junkfile ./fsx-linux -N 10000 -o 1024 test/junkfile ./fsx-linux -N 10000 -o 2048 test/junkfile ./fsx-linux -N 10000 -o 4096 test/junkfile ./fsx-linux -N 10000 -o 8192 test/junkfile ./fsx-linux -N 10000 -o 16384 test/junkfile ./fsx-linux -N 10000 -o 32768 test/junkfile ./fsx-linux -N 10000 -o 128000 test/junkfile ./fsx-linux -N 10000 -o 1024 -A test/junkfile ./fsx-linux -N 10000 -o 2048 -A test/junkfile ./fsx-linux -N 10000 -o 4096 -A test/junkfile ./fsx-linux -N 10000 -o 8192 -A test/junkfile ./fsx-linux -N 10000 -o 16384 -A test/junkfile ./fsx-linux -N 10000 -o 32768 -A test/junkfile ./fsx-linux -N 10000 -o 128000 -A test/junkfile ./fsx-linux -N 10000 -o 1024 -A -l 500000 -r 2048 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 2048 -A -l 500000 -r 512 -t 2048 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 4096 -A -l 500000 -r 512 -t 4096 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 8192 -A -l 500000 -r 1024 -t 2048 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 16384 -A -l 500000 -r 4096 -t 4096 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 32768 -A -l 500000 -r 2048 -t 2048 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 128000 -A -l 500000 -r 512 -t 4096 -w 1024 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 32768 -r 4096 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 128000 -r 2048 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 1024 -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 2048 -l 500000 -r 4096 -t 2048 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 4096 -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 8192 -l 500000 -r 4096 -t 2048 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 16384 -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 32768 -l 500000 -r 4096 -t 2048 -w 2048 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 128000 -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 128000 -l 500000 -r 4096 -t 4096 -w 4096 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 16384 -A -l 500000 -r 4096 -t 4096 -w 4096 test/junkfile1 & ./fsx-linux -N 10000 -o 32768 -A -l 500000 -r 4096 -t 2048 -w 2048 test/junkfile2 & ./fsx-linux -N 10000 -o 128000 -A -l 500000 -r 4096 -t 4096 -w 4096 test/junkfile3 & ./fsx-linux -N 10000 -o 16384 -A -l 500000 -r 4096 -t 4096 -w 4096 test/junkfile4 & ./fsx-linux -N 10000 -o 32768 -A -l 500000 -r 4096 -t 2048 -w 2048 test/junkfile5 & ./fsx-linux -N 10000 -o 128000 -A -l 500000 -r 4096 -t 4096 -w 4096 test/junkfile6 & ./fsx-linux -N 10000 -A test/junkfile7 & ./fsx-linux -N 100000 -A test/junkfile8 & ./fsx-linux -N 100000 -A test/junkfile9 & ./fsx-linux -N 10000 -o 8192 -A -l 500000 -r 1024 -t 2048 -w 1024 -Z -R -W test/junkfile ./fsx-linux -N 10000 -o 16384 -A -l 500000 -r 2048 -t 4096 -w 1024 -Z -R -W test/junkfile - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html