1BLKDEV_ISSUE_FLUSH(9) Block Devices BLKDEV_ISSUE_FLUSH(9)
2
3
4
6 blkdev_issue_flush - queue a flush
7
9 int blkdev_issue_flush(struct block_device * bdev, gfp_t gfp_mask,
10 sector_t * error_sector, unsigned long flags);
11
13 bdev
14 blockdev to issue flush for
15
16 gfp_mask
17 memory allocation flags (for bio_alloc)
18
19 error_sector
20 error sector
21
22 flags
23 BLKDEV_IFL_* flags to control behaviour
24
26 Issue a flush for the block device in question. Caller can supply room
27 for storing the error offset in case of a flush error, if they wish to.
28 If WAIT flag is not passed then caller may check only what request was
29 pushed in some internal queue for later handling.
30
32Kernel Hackers Manual 2.6. November 2011 BLKDEV_ISSUE_FLUSH(9)