table of contents
other versions
- jessie 3.16.56-1+deb8u1
BLKDEV_ISSUE_DISCARD(9) | Block Devices | BLKDEV_ISSUE_DISCARD(9) |
NAME¶
blkdev_issue_discard - queue a discardSYNOPSIS¶
int
blkdev_issue_discard(struct block_device * bdev,
sector_t sector, sector_t nr_sects,
gfp_t gfp_mask,
unsigned long flags);
ARGUMENTS¶
bdevblockdev to issue discard for
sector
start sector
nr_sects
number of sectors to discard
gfp_mask
memory allocation flags (for bio_alloc)
flags
BLKDEV_IFL_* flags to control behaviour
DESCRIPTION¶
Issue a discard request for the sectors in question.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |