diff options
author | Alasdair G Kergon <[email protected]> | 2005-07-07 17:59:34 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2005-07-07 18:24:11 -0700 |
commit | d88854f08961d26f3a63cfae7972188d26a128e4 (patch) | |
tree | 60a7319d8c79898325baaab17b655acaf2ec8040 /net/core/dev.c | |
parent | 374a6cf281771b23e263efd31fdc896924394dba (diff) |
[PATCH] device-mapper: dm-raid1: Limit bios to size of mirror region
Set the target's split_io field when building a dm-mirror device so
incoming bios won't span the mirror's internal regions. Without this,
regions can be accessed while not holding correct locks and data corruption
is possible.
Reported-By: "Zhao Qian" <[email protected]>
From: Kevin Corry <[email protected]>
Signed-Off-By: Alasdair G Kergon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions