summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-linear.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2012-12-21 20:23:37 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:37 +0000
commit23508a96cd2e857d57044a2ed7d305f2d9daf441 (patch)
tree149ead46c45a0fdd159fb32a6bfb6439eae3d652 /drivers/md/dm-linear.c
parentd54eaa5a0fde0a202e4e91f200f818edcef15bee (diff)
downloadtalos-op-linux-23508a96cd2e857d57044a2ed7d305f2d9daf441.tar.gz
talos-op-linux-23508a96cd2e857d57044a2ed7d305f2d9daf441.zip
dm: add WRITE SAME support
WRITE SAME bios have a payload that contain a single page. When cloning WRITE SAME bios DM has no need to modify the bi_io_vec attributes (and doing so would be detrimental). DM need only alter the start and end of the WRITE SAME bio accordingly. Rather than duplicate __clone_and_map_discard, factor out a common function that is also used by __clone_and_map_write_same. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud