1. NAME

blkdev_issue_discard - queue a discard

2. SYNOPSIS

int blkdev_issue_discard(struct block_device *  bdev , sector_t  sector , sector_t  nr_sects , gfp_t  gfp_mask , unsigned long  flags );

3. ARGUMENTS

bdev
    blockdev 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

4. DESCRIPTION

Issue a discard request for the sectors in question.

5. COPYRIGHT