Comment 18 for bug 1758402

Revision history for this message
In , Tibbs (tibbs) wrote :

I chatted with some of the Linux NFS kernel developers and they know of no problems with sqlite on NFS when used against a Linux server. I did find some documentation of problems with Solaris servers, but the Firefox developers did get the "unix-excl" VFS pushed into upstream sqlite a few years ago which does internal locking. I'm not sure what kactivitymanagerd is using. (I searched the source but don't see anywhere that might be set; I guess it's only using frameworks or qt functions to interact with sqlite.)

I did some very basic testing to see that unix-excl locking works as expected. I also tested with a few sqlite versions (3.6.20 {doesn't have WAL or unix-excl at all}, 3.7.17, 3.20.1 and 3.22.0) and none had any particular problem opening or creating databases and setting the journal_mode to WAL (except for 3.6.20 which simply doesn't support WAL).

And I still can't find any statement of what's not supposed to work on NFS. All I can find is vague mentions that some NFS locking implementations might be buggy, but nothing conclusive. And honestly, Plasma really does need to work (and be fully functional) with NFS home directories.