---
name: "blkdev_issue_write_same"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blkdev_issue_write_same"
---

# blkdev\_issue\_write\_same(9)

queue a write same operation

## 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

*bdev*

target blockdev

*sector*

start sector

*nr\_sects*

number of sectors to write

*gfp\_mask*

memory allocation flags (for bio\_alloc)

*page*

page containing data to write

## DESCRIPTION

Issue a write same request for the sectors in question.

## COPYRIGHT
