All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chip Salzenberg <chip@valinux.com>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: linux-mm@kvack.org
Subject: Re: raid0 and buffers larger than PAGE_SIZE
Date: Thu, 8 Jun 2000 13:20:38 -0700	[thread overview]
Message-ID: <20000608132038.C601@perlsupport.com> (raw)
In-Reply-To: <20000608150821.G3886@redhat.com>; from sct@redhat.com on Thu, Jun 08, 2000 at 03:08:21PM +0100

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<md_dev[minor].nb_dev; i++)
      if (md_dev[minor].devices[i].size<min)
--- 447,450 ----

-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"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/

      parent reply	other threads:[~2000-06-08 20:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-08  3:44 raid0 and buffers larger than PAGE_SIZE Chip Salzenberg
2000-06-08 14:08 ` Stephen C. Tweedie
2000-06-08 19:13   ` Chip Salzenberg
2000-06-08 19:24     ` Stephen C. Tweedie
2000-06-08 20:20   ` Chip Salzenberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000608132038.C601@perlsupport.com \
    --to=chip@valinux.com \
    --cc=linux-mm@kvack.org \
    --cc=sct@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.