[AVFS] fuse+avfs problem with direct_io
Ralf Hoffmann <[email protected]> Mon, 07 May 2007 23:32:43 +0200
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, An user recently reported a problem about accessing files using avfs+fuse. For instance, cat'ing files with zero file length doesn't output anything even if avfs would actually return some bytes. Extfs handlers sometimes list files with zero file length but the files do have a size > 0. It looks like mounting avfs with the direct_io fuse option fixes this. I don't know details about the kernel implementation but I assume that the kernel doesn't issue a read operation if the file size is 0 bytes unless direct io is enabled. Miklos, is there any other solution for this problem or should we just always enable direct_io in mountavfs? Are there some (performance?) drawbacks? Best Regards, Ralf Hoffmann -- Homepage: http://www.boomerangsworld.de E-Mail: Ralf Hoffmann <[email protected]> English or German ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/