Re: IDE/ATAPI in 2.5

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Jul 17 2002 - 09:00:24 EST


On Wed, 17 Jul 2002, Joerg Schilling wrote:
 
> Is there any problem with using a ioctl() from upper layer kernel to the low
> level drivers (living under the SW raid) to reduce the number of retries to a
> reasonable value in this case?
>
> The main design goal for UNIX as to keep it simple. There is no need for a
> complex cross layer error control.

... and ioctl(2) is a gross violation of that design goal. Ask the authors
of UNIX how they feel about that kludge, let alone propagation of said kludge
beyond the TTY layer where it had originated (or about the entire v7 TTY layer,
for that matter - v8 and later had thrown that crap away).

If you care about design philosophy of UNIX - at the very least take a hard
look at APIs you are using. Sheesh...

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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:23 EST