1BLKDEV_ISSUE_DISCARD(9)          Block Devices         BLKDEV_ISSUE_DISCARD(9)
2
3
4

NAME

6       blkdev_issue_discard - queue a discard
7

SYNOPSIS

9       int blkdev_issue_discard(struct block_device * bdev, sector_t sector,
10                                sector_t nr_sects, gfp_t gfp_mask, int flags);
11

ARGUMENTS

13       bdev
14           blockdev to issue discard for
15
16       sector
17           start sector
18
19       nr_sects
20           number of sectors to discard
21
22       gfp_mask
23           memory allocation flags (for bio_alloc)
24
25       flags
26           BLKDEV_IFL_* flags to control behaviour
27

DESCRIPTION

29       Issue a discard request for the sectors in question.
30
32Kernel Hackers Manual 2.6.         June 2019           BLKDEV_ISSUE_DISCARD(9)
Impressum