Re: [PATCH] 2.5.8 IDE 36

Vojtech Pavlik
2002-04-16T17:00:46Z

On Tue, Apr 16, 2002 at 08:46:31AM -0700, Linus Torvalds wrote:
>
> On Tue, 16 Apr 2002, Vojtech Pavlik wrote:
> >
> > Note that the above commands are no help in case of plugging TIVO
> > drive into a PC. While they assure that all ext2 filesystems are LE on
> > the media and all sun disklabels are BE on the media, still if you plug
> > in a BE ext2 into the system (or a BE PC partition table), the kernel
> > won't understand them.
>
> Please use a the network block device, and teach the ndb deamon to just
> byteswap each word.
>
> Problem solved, WITHOUT keeping bugs in the IDE driver.

Yeah, that's a pretty cool idea.

> Oh, and performance improved at the same time.
>
> What are you guys thinging about? There are two rules here:
> - optimize for the common case
> - keep the code clean.

There is also this one:

- don't remove existing features if you don't have an usable
replacement or users will hate you.

> Both of them say that Martin is 100% right.

Now that you've come up with the NBD idea, I have to agree.

--
Vojtech Pavlik
SuSE Labs