From: Neil Brown <neilb@suse.de>
To: Brad Campbell <brad@wasp.net.au>
Cc: Jens Axboe <jens.axboe@oracle.com>,
Chuck Ebbert <cebbert@redhat.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [OOPS] 2.6.21-rc6-git5 in cfq_dispatch_insert
Date: Wed, 25 Apr 2007 20:59:33 +1000 [thread overview]
Message-ID: <17967.13461.154177.135843@notabene.brown> (raw)
In-Reply-To: message from Brad Campbell on Wednesday April 25
On Wednesday April 25, brad@wasp.net.au wrote:
>
> [ 756.311074] BUG: at block/cfq-iosched.c:543 cfq_reposition_rq_rb()
> [ 756.329615] [<c0204fa1>] cfq_merged_request+0x71/0x80
> [ 756.345046] [<c0204f30>] cfq_merged_request+0x0/0x80
> [ 756.360216] [<c01fb4ae>] elv_merged_request+0x4e/0x50
> [ 756.375647] [<c01ff1a7>] __make_request+0x1a7/0x2f0
> [ 756.390557] [<c01ff497>] generic_make_request+0x127/0x190
> [ 756.407025] [<c02bb011>] chunk_aligned_read+0x111/0x1c0
^^^^^^^^^^^^^^^^^
> [ 756.422974] [<c01ff497>] generic_make_request+0x127/0x190
> [ 756.439443] [<c02bb448>] make_request+0x388/0x3b0
> [ 756.453834] [<c016e027>] __bio_add_page+0x147/0x1c0
> [ 756.468742] [<c016dbff>] bio_alloc_bioset+0x7f/0x150
> [ 756.483913] [<c02bac50>] raid5_mergeable_bvec+0x0/0x90
> [ 756.499604] [<c016e107>] bio_add_page+0x37/0x50
> [ 756.513473] [<c01ff497>] generic_make_request+0x127/0x190
> [ 756.529943] [<c013586a>] mempool_free+0x2a/0x60
> [ 756.543812] [<c016dadd>] bio_free+0x1d/0x40
> [ 756.556645] [<c01ff546>] submit_bio+0x46/0xc0
> [ 756.571389] [<c020a396>] radix_tree_node_alloc+0x16/0x60
> [ 756.587610] [<c020a5c2>] radix_tree_insert+0xe2/0x130
> [ 756.603039] [<c0139575>] __pagevec_lru_add+0x75/0x80
> [ 756.618207] [<c0171971>] mpage_bio_submit+0x11/0x20
> [ 756.633117] [<c01720e0>] mpage_readpages+0x100/0x140
^^^^^^^^^^^^^^^
So it is a regular data read (not metadata of any sort) which is
by-passing the stripe cache. I was expecting some sort of metadata
read.
I wander what this is merging in-front of... maybe a stripe-cache
read.
I guess it doesn't tell us anything really interesting, which is
probably a good thing - it means everything else is working properly.
I wonder if we should avoid bypassing the stripe cache if the needed stripes
are already in the cache... or if at least one needed stripe is.... or
if the array is degraded...
Probably in the degraded case we should never bypass the cache, as if
we do, then a sequential read of a full stripe will read every block
twice. I'd better to some performance measurements.
Thanks for all the patient testing.
NeilBrown
next prev parent reply other threads:[~2007-04-25 10:59 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-15 10:14 Brad Campbell
2007-04-15 10:49 ` Brad Campbell
2007-04-15 23:53 ` Adrian Bunk
2007-04-16 3:23 ` Brad Campbell
2007-04-16 22:39 ` Chuck Ebbert
2007-04-17 5:10 ` Neil Brown
2007-04-17 8:13 ` Brad Campbell
2007-04-17 11:48 ` Brad Campbell
2007-04-17 20:39 ` Bartlomiej Zolnierkiewicz
2007-04-18 12:37 ` Jens Axboe
2007-04-18 13:19 ` Brad Campbell
2007-04-18 13:21 ` Jens Axboe
2007-04-22 7:37 ` Brad Campbell
2007-04-23 7:35 ` Jens Axboe
2007-04-24 19:40 ` Brad Campbell
2007-04-25 8:34 ` Neil Brown
2007-04-25 8:46 ` Jens Axboe
2007-04-25 9:34 ` Jens Axboe
2007-04-25 9:37 ` Neil Brown
2007-04-25 9:47 ` Jens Axboe
2007-04-25 10:02 ` Brad Campbell
2007-04-25 10:18 ` Jens Axboe
2007-04-25 13:59 ` Roland Kuhn
2007-04-25 10:25 ` Neil Brown
2007-04-25 10:36 ` Jens Axboe
2007-04-25 9:54 ` Brad Campbell
2007-04-25 8:50 ` Brad Campbell
2007-04-25 10:06 ` Brad Campbell
2007-04-25 10:59 ` Neil Brown [this message]
2007-04-25 11:17 ` Degraded RAID performance - Was : " Brad Campbell
2007-04-18 13:19 ` Jens Axboe
[not found] <79880979-51BB-4D28-A3E8-3AE0F56F5B0A@e18.physik.tu-muenchen.de>
[not found] ` <20070424091807.GA3744@kernel.dk>
[not found] ` <6A6800B3-F9C8-4046-9E1C-A8CEA81B2CE0@e18.physik.tu-muenchen.de>
[not found] ` <20070424093904.GB3744@kernel.dk>
[not found] ` <20070424094003.GC3744@kernel.dk>
2007-04-24 12:27 ` Roland Kuhn
2007-04-24 12:32 ` Jens Axboe
2007-04-24 13:03 ` Roland Kuhn
2007-04-24 13:07 ` Jens Axboe
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=17967.13461.154177.135843@notabene.brown \
--to=neilb@suse.de \
--cc=brad@wasp.net.au \
--cc=cebbert@redhat.com \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®