lkml.org 
[lkml]   [2006]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What's in libata-dev.git
Helge Hafting wrote:
> How about a simple and harmless test?
> When an IDE disk is accessed for the first time, perhaps when
> the partition table is read - issue a 256-sector read and see
> what happens. If it works - fine. If not, tag the thing as
> supporting max 255 sectors.
>
> No wrecking of file systems, and full performance for
> the vast majority.

Before implementing anything like that, we need a test case. We don't
know how a faulty drive reacts on such cases. If it actively aborts the
command, we can reduce the limit to 255 sectors after upper layer issues
such command, no need to do it earlier. If it times out, we can't do it
during boot and it will suck later too. If it silently corrupts data
(highly unlikely), we need to detect the condition during boot.

I don't think it matters all that much anyway. IDE has been running w/
256 sectors for a loooong time and someone who seeks performance from
LBA28 only drive has bigger problems (also I don't think 255 would be
noticeably slower than 256).

--
tejun
-
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: 2006-09-13 03:55    [W:0.101 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site