---
name: "sync_mapping_buffers"
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/sync_mapping_buffers"
---

# sync\_mapping\_buffers(9)

write out & wait upon a mapping's “associated” buffers

## NAME

sync\_mapping\_buffers - write out & wait upon a mapping's “associated” buffers

## SYNOPSIS

**int sync\_mapping\_buffers(struct address\_space \*** *mapping***);**

## ARGUMENTS

*mapping*

the mapping which wants those buffers written

## DESCRIPTION

Starts I/O against the buffers at mapping-\>private\_list, and waits upon that I/O.

Basically, this is a convenience function for **fsync**. *mapping* is a file or directory which needs those buffers to be written for a successful **fsync**.

## COPYRIGHT
