Calling fcntl(..., F_FULLFSYNC) on osxfuse volume returns "Invalid argument" error #79
Comments
|
Basically, any program that tries to do a full-sync will have issues. We also noticed this trying to run a database in an OSXFuse fs. |
|
Sorry for the late reply. F_FULLFSYNC is currently not implemented. Thats why you are seeing the error. From a technical standpoint there would be no difference between calling On a side note, running a database on a FUSE volume might not be ideal because of the overhead and it will be very difficult to guarantee data integrity in case of a file system crash. Depending on the file system there might be several layers of caching that are not getting flushed when calling fsync or doing a fnctl with F_FULLFSYNC. |
|
Benjamin, On Mon, Apr 15, 2013 at 12:24 PM, Benjamin Fleischer <
|
|
I edited my previous reply shortly after posting it.You might not have received a notification containing the edited version. I agree that we should be doing a plain |
|
Yeah, I agree that doing a plain fsync when fcntl is called with F_FULLSYNC is called would be the way to go. |
|
Commit osxfuse/kext@e940e7d adds support for |
Here is a simple test application which returns "Invalid argument" error for any file located on the osxfuse volume. I've tested it on my own FS and on SSHFS from the site as well.
The text was updated successfully, but these errors were encountered: