Name

blkdev_issue_write_same — queue a write same operation

Synopsis

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

Arguments

struct block_device * bdev

target blockdev

sector_t sector

start sector

sector_t nr_sects

number of sectors to write

gfp_t gfp_mask

memory allocation flags (for bio_alloc)

struct page * page

page containing data

Description

Issue a write same request for the sectors in question.