Re: elevator algorithm bug in ll_rw_blk.c

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
16 Nov 1998 00:28:27 -0800


In article <linux.kernel.364F77E0.3369FABF@thrillseeker.net>,
Billy Harvey <Billy.Harvey@thrillseeker.net> wrote:
>> You could apply a two way elevator well if you knew about the physical
>> characteristics of the drive. Unfortunately there is no way to find that out
>> for most modern drives.
>
>Hmmm, why not?
>
>root@rhino /root> hdparm -I /dev/hda

The drive may be lying to you; it could have different numbers of
sectors per track in different parts of the disk, and remap them
internally to a fixed c/h/s arrangement for the convenience of the
IBM PC bios.

____
david parsons \bi/ So basically all you can reliably service going backwards
\/ is single-sector reads, and at that point you're most
likely better off zeroing the head and going forward
again.

-
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/