Jörn Engel wrote:
On Fri, 1 July 2005 14:58:39 -0500, David Masover wrote:
Bryan Henderson wrote:
What you'd really like is to fsync a multi-file unit of work (transaction)
-- and not just among open files. You'd like to open, write, and close
1000 files in a single transaction and then commit that transaction, with
no syncing due to timers in the meantime. If you're really greedy, you'd
also ask for complete rollback if the system fails before the commit.
Both of these are planned for Reiser4. Or is it 4.1?
Both are pretty trivial to implement for a tree-based fs like
reiserfs. Non-trivial is the user interface. Not sure if sys_reiser
is the answer to that.
It is intended to be, I think. But sys_reiser has been pushed off to
4.1, last I checked.
From the general attitude here, I'm guessing that it should *not* be
called sys_reiser. We're already doing the meta-files interface for
doing anything we want to do with reiser, which means sys_reiser
currently only does two things: allows simultaneous access to lots of
small files efficiently (versus open()-ing each of them), and
transactions. While the two may or may not belong in the same system
call, I don't believe they should be Reiser-specific.