Ceph FS - File Locking Status
Hi All,
I ran across Bug # 2825 (http://tracker.ceph.com/issues/2825) tonight. Is file locking still an issue in the latest stable release (0.60 / 0.61) ?
Signature · 2 lines
Thanks, Dyweni
Hi All (again),
I'm specific interested in POSIX advisory locks... as referred to by SQLite Version 3 (http://www.sqlite.org/lockingv3.html, section 6).
I want to store a set of SQLite database files on a shared Ceph FS, in order to coordinate the activities of a number of nodes. I need to make sure that multiple nodes won't be stepping on each other and corrupting these database files.
---
Thanks,
Dyweni
Quoted 15 lines · Dyweni - Ceph-Devel
Hi All,
I ran across Bug # 2825 (http://tracker.ceph.com/issues/2825)
tonight. Is file locking still an issue in the latest stable release (0.60 / 0.61) ?--
Thanks,
Dyweni
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Dyweni - Ceph-Devel
Hi All (again),
I'm specific interested in POSIX advisory locks... as referred to by
SQLite Version 3 (http://www.sqlite.org/lockingv3.html, section 6).I want to store a set of SQLite database files on a shared Ceph FS, in order to coordinate the activities of a number of nodes. I need to make sure that multiple nodes won't be stepping on each other and corrupting these database files.
Quoted 14 lines
---
Thanks,
DyweniQuoted 6 lines · Dyweni - Ceph-Devel
Hi All,
I ran across Bug # 2825 (http://tracker.ceph.com/issues/2825)
tonight. Is file locking still an issue in the latest stable release (0.60 / 0.61) ?
I'd forgotten about this bug. I don't believe we've done any work on the POSIX locks since then, although that bug doesn't mention the kernel version in use and I believe you need both sufficiently new servers and kernels. Sadly I don't have the time to pull down that code and check out the current results.
The locking code is *fairly* readable though, if anybody would like to check it out. The interfaces grew to be messier than I'd like but it is at least well-isolated from the other MDS invariants, if somebody wants to check it out.
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com