lkml.org 
[lkml]   [2001]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [patch] multipath RAID personality, 2.4.10-pre9
On Sep 14, 2001  12:01 +0200, Ingo Molnar wrote:
> the attached patches implement multipath IO for Linux in form of a sw-RAID
> personality. Multipath-IO is the ability of certain devices to address the
> same physical disk over multiple 'IO paths'.

> /*
> * This routine returns the disk from which the requested read should
> * be done. It bookkeeps the last read position for every disk
> * in array and when new read requests come, the disk which last
> * position is nearest to the request, is chosen.

I'm not sure I understand why this is here? If we are talking about a
multipath situation, there IS only a single disk, so which path is chosen
is mostly irrelevant. Also, it is my understanding that with some multipath
hardware, if you read from the "backup" path it will kill access to the
primary path (this can be used when more than one system access shared disk
for failover). As a result, we should always read from the "primary" path
for each disk unless there is an error.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.073 / U:1.864 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site