Re: [PATCH] clipped disk reports clipped lba size

Paul Gortmaker (p_gortmaker@yahoo.com)
Sat, 02 Feb 2002 06:11:29 -0500


Andries.Brouwer@cwi.nl wrote:
>
> From: Paul Gortmaker <p_gortmaker@yahoo.com>
>
> Alan has said (quite reasonably) that he is not interested in inclusion
> of the big IDE patch that exists for 2.2.x -- however, a minimal cut and
> paste backport from 2.4.x IDE to just support HDIO_DRIVE_CMD_AEB (and thus
> support setmax) is only about a 100 line diff which I did a while ago.
^^^^^^^^^^^^^^^^^^^^^^^^^^
> If there is any interest in this I can check it still applies cleanly to
> current 2.2 pre kernel and send it along for inclusion.
>
> (1) *_AEB is intended as private namespace for me, not for inclusion
> in an official kernel. So, some official name, like HDIO_DRIVE_TASK,
> must be better.

Yes, DRIVE_TASK is of course the official name - I just knew you would
immediately recognize *_AEB & and know context/usage :) BTW, if you
didn't want it in an official kernel, it is a bit late for that. It has
been in for some time in 2.4 .... <grep> 2.3.99pre9 to be exact.

> Both problems can be solved with relatively small patches,
> no big monolithic IDE patch required. And I would prefer

Please see above - I agree, and was suggesting a small patch to 2.2
rather than the massive one (which Alan already ruled out months ago).

> to solve both problems without involving ioctl's, or boot
> parameters, or config parameters. All should just work
> in the common case.

This is a valid point - in an ideal situation things should just work
without user intervention or setmax util, etc. What are you currently
recommending to 2.2.x kernel users that come across this limitation
prior to such an ideal fix being released in a 2.2.x kernel?

Paul.

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