News for hackers. Stuff that matters.
Re:Files Are Hard by david-given on Sunday December 13, 2015 @11:21AM (#10726723)
One thing I've always wanted to try and never had time is to build SQlite as a kernel module, talking directly to the block device layer, and then implement a POSIX file system on top of it.

It wouldn't solve problems with the block device layer itself, but it'd be interesting to see how robust and/or fast it was in real life.

Re:Files Are Hard by hyc_symas on Sunday December 13, 2015 @08:15PM (#10728814)
SQLite's still too big of a pig, and still unreliable. But we can do LMDB in-kernel, and an LMDBfs is in the works. Based on BDBfs.

http://www.fsl.cs.sunysb.edu/docs/kbdbfs-msthesis/

Re:Files Are Hard by mwcampbell on Sunday December 13, 2015 @11:36AM (#10726785)
SQLite itself relies on a filesystem for the rollback journal or write-ahead log. So you'd need some kind of abstraction between the block device and SQLite. Might as well just use the existing filesystem and keep SQLite in user space, since that works.
Re:Files Are Hard by david-given on Sunday December 13, 2015 @11:40AM (#10726805)
Re:Files Are Hard by jdub on Sunday December 13, 2015 @03:53PM (#10727892)
It all sounded so good until the end of the header where it's described as a demo vfs. :-(