On 06/01/2012 12:06 PM, Georg Schönberger wrote: > Hello again, > > I am having some troubles with running the fio example "ssd-test". I > changed the global section to decrease the size: > [global] > bs=4k > ioengine=libaio > iodepth=4 > size=100M > direct=1 > runtime=60 > filename=ssd.test.file > > If I am running Fio I get the following error: > ---------------------------------------- > fio.git/examples$ fio ssd-test > seq-read: (g=0): rw=read, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4 > rand-read: (g=1): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4 > seq-write: (g=2): rw=write, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4 > rand-write: (g=3): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4 > fio-2.0.8 > Starting 4 processes > fio: pid=17997, err=22/file:filesetup.c:529, func=open(ssd.test.file), > error=Invalid argument > fio: pid=17998, err=22/file:filesetup.c:529, func=open(ssd.test.file), > error=Invalid argument > fio: pid=17999, err=22/file:filesetup.c:529, func=open(ssd.test.file), > error=Invalid argument > fio: pid=18000, err=22/file:filesetup.c:529, func=open(ssd.test.file), > error=Invalid argument Looks like the file system hosting the test file does not support O_DIRECT. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html