blkdev_issue_discard — queue a discard
intblkdev_issue_discard(
)
struct block_device * bdev
blockdev to issue discard for
sector_t sector
start sector
sector_t nr_sects
number of sectors to discard
gfp_t gfp_mask
memory allocation flags (for bio_alloc)
unsigned long flags
BLKDEV_IFL_* flags to control behaviour
Issue a discard request for the sectors in question.