Re: [RFC] problem with grow_dev_page()/readpage()

Linus Torvalds (torvalds@transmeta.com)
Mon, 19 Nov 2001 12:57:45 -0800 (PST)


On Mon, 19 Nov 2001, Alexander Viro wrote:
>
> Then we'd better check that in bread() (getblk(), actually). Works for
> me - that's even better than grow_dev_page().
>
> Notice that 2.4.15-pre6 _does_ have at least two bugs of that kind - aic7xxx
> (both old and new drivers). They have an ioctl() that tries to guess the
> BIOS geometry. It blindly does bread() on 1Kb buffer, which leaves MO
> disks very unhappy. So check looks like a good idea...

Works for me.

Linus

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