kjournald is the journaling daemon for the
ext3 filesystem.
The "journal" is what enables ext3 to recover quickly after a filesystem crash. As explained in
man mount, there are three different journaling-modes to choose from, all of which affect the behavior of kjournald.
To quote the Linux source (
fs/jbd/journal.c):
Quote:
* This kernel thread is responsible for two things:
*
* 1) COMMIT: Every so often we need to commit the current state of the
* filesystem to disk. The journal thread is responsible for writing
* all of the metadata buffers to disk.
*
* 2) CHECKPOINT: We cannot reuse a used section of the log file until all
* of the data in that part of the log has been rewritten elsewhere on
* the disk. Flushing these old buffers to reclaim space in the log is
* known as checkpointing, and this thread is responsible for that job.
|