LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: "Marc Marais" <marcm@liquid-nexus.net>
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: md: md6_raid5 crash 2.6.20
Date: Mon, 12 Feb 2007 11:15:38 +1100	[thread overview]
Message-ID: <17871.45482.186152.158022@notabene.brown> (raw)
In-Reply-To: message from Marc Marais on Monday February 12

On Monday February 12, marcm@liquid-nexus.net wrote:
> 
> Thanks for the quick response Neil unfortunately the kernel doesn't build with
> this patch due to a missing symbol:
> 
> WARNING: "blk_recount_segments" [drivers/md/raid456.ko] undefined!
> 
> Is that in another file that needs patching or within raid5.c?

Yes.  I keep forgetting about that bit. Sorry.


diff -puN block/ll_rw_blk.c~md-fix-various-bugs-with-aligned-reads-in-raid5-fix block/ll_rw_blk.c
--- a/block/ll_rw_blk.c~md-fix-various-bugs-with-aligned-reads-in-raid5-fix
+++ a/block/ll_rw_blk.c
@@ -1264,7 +1264,7 @@ new_hw_segment:
 	bio->bi_hw_segments = nr_hw_segs;
 	bio->bi_flags |= (1 << BIO_SEG_VALID);
 }
-
+EXPORT_SYMBOL(blk_recount_segments);
 
 static int blk_phys_contig_segment(request_queue_t *q, struct bio *bio,
 				   struct bio *nxt)
_

  reply	other threads:[~2007-02-12  0:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  7:27 Marc Marais
2007-02-11 22:02 ` Neil Brown
2007-02-12  0:03   ` Marc Marais
2007-02-12  0:15     ` Neil Brown [this message]
2007-02-12 16:28 Andrew Burgess
2007-02-13  8:44 ` Neil Brown

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=17871.45482.186152.158022@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=marcm@liquid-nexus.net \
    --subject='Re: md: md6_raid5 crash 2.6.20' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).