Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102903172
D44282.id135554.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
932 B
Referenced Files
None
Subscribers
None
D44282.id135554.diff
View Options
Index: sys/dev/mrsas/mrsas_fp.c
===================================================================
--- sys/dev/mrsas/mrsas_fp.c
+++ sys/dev/mrsas/mrsas_fp.c
@@ -974,7 +974,8 @@
raid->regTypeReqOnRead != REGION_TYPE_UNUSED)))
pRAID_Context->regLockFlags = REGION_TYPE_EXCLUSIVE;
else if (raid->level == 1) {
- pd = MR_ArPdGet(arRef, physArm + 1, map);
+ physArm = physArm + 1;
+ pd = MR_ArPdGet(arRef, physArm, map);
if (pd != MR_PD_INVALID) {
*pDevHandle = MR_PdDevHandleGet(pd, map);
*pPdInterface = MR_PdInterfaceTypeGet(pd, map);
@@ -1719,7 +1720,8 @@
pRAID_Context->regLockFlags = REGION_TYPE_EXCLUSIVE;
else if (raid->level == 1) {
/* Get Alternate Pd. */
- pd = MR_ArPdGet(arRef, physArm + 1, map);
+ physArm = physArm + 1;
+ pd = MR_ArPdGet(arRef, physArm, map);
if (pd != MR_PD_INVALID) {
/* Get dev handle from Pd. */
*pDevHandle = MR_PdDevHandleGet(pd, map);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 1:14 PM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14717121
Default Alt Text
D44282.id135554.diff (932 B)
Attached To
Mode
D44282: mrsas: don't issue IO to hot-removed physical disk of RAID1 volume.
Attached
Detach File
Event Timeline
Log In to Comment