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

# blkdev\_issue\_flush(9)

queue a flush

## NAME

blkdev\_issue\_flush - queue a flush

## SYNOPSIS

**int blkdev\_issue\_flush(struct block\_device \*** *bdev***, gfp\_t** *gfp\_mask***, sector\_t \*** *error\_sector***);**

## ARGUMENTS

*bdev*

blockdev to issue flush for

*gfp\_mask*

memory allocation flags (for bio\_alloc)

*error\_sector*

error sector

## DESCRIPTION

Issue a flush for the block device in question. Caller can supply room for storing the error offset in case of a flush error, if they wish to. If WAIT flag is not passed then caller may check only what request was pushed in some internal queue for later handling.

## COPYRIGHT
