FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 04-08-2011, 07:04 PM
"Moger, Babu"
 
Default multipath-tools: report PATH_UP for both path groups in rdac if io-shipping is enabled

This patch reports PATH_UP for both the path groups if the RDAC storage is configured with i/o shipping.

Signed-off-by: Babu Moger <babu.moger@lsi.com>
Reviewed-by: Yanling Qi <yanling.qi@lsi.com>
Reviewed-by: Somasundaram Krishnasamy <Somasundaram.Krishnasamy@lsi.com>

---
--- multipath-tools/libmultipath/checkers/rdac.c.orig 2011-04-01 16:45:38.000000000 -0500
+++ multipath-tools/libmultipath/checkers/rdac.c 2011-04-01 16:58:43.000000000 -0500
@@ -218,7 +218,11 @@ libcheck_check (struct checker * c)
goto done;
}

- ret = ((inq.avtcvp & 0x1) ? PATH_UP : PATH_GHOST);
+ /* If owner set or ioship mode is enabled return PATH_UP always */
+ if ((inq.avtcvp & 0x1) || ((inq.avtcvp >> 5) & 0x1))
+ ret = PATH_UP;
+ else
+ ret = PATH_GHOST;

done:
switch (ret) {



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 07:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org