Name

blkdev_issue_zeroout — generate number of zero filed write bios

Synopsis

int blkdev_issue_zeroout (struct block_device * bdev,
 sector_t sector,
 sector_t nr_sects,
 gfp_t gfp_mask);
 

Arguments

bdev

blockdev to issue

sector

start sector

nr_sects

number of sectors to write

gfp_mask

memory allocation flags (for bio_alloc)

Description

Generate and issue number of bios with zerofiled pages.