Re: ORBS Elevator...

From: Andi Kleen (ak@suse.de)
Date: Sat Jul 29 2000 - 22:02:15 EST


On Sun, Jul 30, 2000 at 03:05:29AM +0200, Andrea Arcangeli wrote:
> On Sat, 29 Jul 2000, Rik van Riel wrote:
>
> >On Sat, 29 Jul 2000, Andre Hedrick wrote:
> >
> >> It is one platter and a pair of heads.
> >> I will know the discrete track/sector arrangements.
> >> This is the first case where the "elevator" an be used as a strong boost.
> >
> >How about RAID1 devices?
>
> I assumed we was talking about enabling the geometry behaviour _only_ on
> the specific HD that Andre was talking about. For everything else I agree
> it would be of course wrong since we never know what the real geometry is.

What I was thinking is just a generic way where an application/kernel module
can ask the question to a block device:

tell me all areas where I can seek independently.

The return would be a list of (offset, length) pairs where you can seek
independently. For devices that do not support geometry reporting that is
only a single pair. That notion can be easily generalized for LVM and RAID
(they just combine the seekarea lists of the underlying devices, and add
their own information about device boundaries)

At least XFS seems to make use of such information (just that it can't get
it currently on Linux, only on Irix I assume)

-Andi

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST