diff options
author | Joe Lawrence <Joe.Lawrence@stratus.com> | 2013-02-21 13:28:09 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-02-26 11:55:21 +1100 |
commit | c8dc9c654794a765ca61baed07f84ed8aaa7ca8c (patch) | |
tree | 81dea728ef7bcaa01fb7e06c1e731d76dd258dff /drivers/ide | |
parent | bbfa57c0f2243a7c31fd248d22e9861a2802cad5 (diff) | |
download | op-kernel-dev-c8dc9c654794a765ca61baed07f84ed8aaa7ca8c.zip op-kernel-dev-c8dc9c654794a765ca61baed07f84ed8aaa7ca8c.tar.gz |
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 <joe.lawrence@stratus.com>
Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions