---
name: "journal_flush"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/journal_flush"
---

# journal\_flush(9)

Flush journal

## NAME

journal\_flush - Flush journal

## SYNOPSIS

**int journal\_flush(journal\_t \*** *journal***);**

## ARGUMENTS

*journal*

Journal to act on.

## DESCRIPTION

Flush all data for a given journal to disk and empty the journal. Filesystems can use this when remounting readonly to ensure that recovery does not need to happen on remount.

## AUTHORS

**Roger Gammans** \<rgammans@computer-surgery.co.uk\>

Author.

**Stephen Tweedie** \<sct@redhat.com\>

Author.

## COPYRIGHT
