---
name: "jbd2_journal_flush"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/jbd2_journal_flush"
---

# jbd2\_journal\_flush(9)

Flush journal

## NAME

jbd2\_journal\_flush - Flush journal

## SYNOPSIS

**int jbd2\_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
