Messages in this thread | | | Date | Mon, 17 Dec 2007 11:38:45 +0900 | From | Hisashi Hifumi <> | Subject | Re: [PATCH] dio: falling through to buffered I/O when invalidationof a page fails |
| |
At 04:15 07/12/15, Zach Brown wrote: > >> If anyone has a testcase - I can take a look at the problem again. > >I can try and throw something together.. > >- z
I did a test by using fsstress.
I modified the dio write() of fsstress to check return value, and input following command;
# fsstress -d /root/testdir/ -l 0 -n 1000 -p 1000 -z -f creat=1 -f write=1 -f dwrite=1
I got EIO from dio write.
I encountered some PostgreSQL mailing list archive that mentioned about this issue. http://groups.google.com/group/pgsql.hackers/browse_thread/thread/c7515ccd5ac1269c/dc2ddeac3fe0d8c1?lnk=raot&fwc=1
dio can be used in PostgreSQL to write transaction log(WAL). It is said that when dio is used, EIO is returned under some workload.
| |