diff options
author | 2013-02-21 13:28:09 +1100 | |
---|---|---|
committer | 2013-02-26 11:55:21 +1100 | |
commit | c8dc9c654794a765ca61baed07f84ed8aaa7ca8c (patch) | |
tree | 81dea728ef7bcaa01fb7e06c1e731d76dd258dff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md: protect against crash upon fsync on ro array (diff) | |
download | linux-dev-c8dc9c654794a765ca61baed07f84ed8aaa7ca8c.tar.xz linux-dev-c8dc9c654794a765ca61baed07f84ed8aaa7ca8c.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions