aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJoe Lawrence <[email protected]>2013-02-21 13:28:09 +1100
committerNeilBrown <[email protected]>2013-02-26 11:55:21 +1100
commitc8dc9c654794a765ca61baed07f84ed8aaa7ca8c (patch)
tree81dea728ef7bcaa01fb7e06c1e731d76dd258dff /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentbbfa57c0f2243a7c31fd248d22e9861a2802cad5 (diff)
md: raid1,10: Handle REQ_WRITE_SAME flag in write bios
Set mddev queue's max_write_same_sectors to its chunk_sector value (before disk_stack_limits merges the underlying disk limits.) With that in place, be sure to handle writes coming down from the block layer that have the REQ_WRITE_SAME flag set. That flag needs to be copied into any newly cloned write bio. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: "Martin K. Petersen" <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions