From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 8 Jun 2000 13:20:38 -0700 From: Chip Salzenberg Subject: Re: raid0 and buffers larger than PAGE_SIZE Message-ID: <20000608132038.C601@perlsupport.com> References: <20000607204444.A453@perlsupport.com> <20000608150821.G3886@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20000608150821.G3886@redhat.com>; from sct@redhat.com on Thu, Jun 08, 2000 at 03:08:21PM +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: "Stephen C. Tweedie" Cc: linux-mm@kvack.org List-ID: According to Stephen C. Tweedie: > getblk() with blocksize > PAGE_SIZE is completely illegal. I've recommended to Alan that he apply the below patch, which reverts a change in 2.2.16 that kills raid0 for me: Index: drivers/block/md.c *************** static int do_md_run (int minor, int rep *** 447,452 **** factor = min = 1 << FACTOR_SHIFT(FACTOR((md_dev+minor))); - md_blocksizes[minor] <<= FACTOR_SHIFT(FACTOR((md_dev+minor))); - for (i=0; i "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/