login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
28
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
Date: Wednesday, April 28, 2010 - 10:43 am
On Wed, Apr 28 2010, Dmitry Monakhov wrote:
quoted text
> Vivek Goyal <vgoyal@redhat.com> writes: > > > On Wed, Apr 28, 2010 at 04:44:51PM +0400, Dmitry Monakhov wrote: > >> > >> I've had an oops on kernel boot due to NULL pointer deference > >> linux-2.6-block/for-next HEAD:7eaed1226ab411ee5dc8c34fc0d8034e4c98e3c6 > >> I've enabled CONFIG_BLK_CGROUP, but not CFQ_GROUP_IOSCHED > >> In this case cfq_ref_get_cfqg() defined as > >> static inline struct cfq_group *cfq_ref_get_cfqg(struct cfq_group *cfqg) > >> { > >> return NULL; > >> } > >> So following call trace is simply NOOP > >> cfq_set_request() > >> rq->elevator_private3 = cfq_ref_get_cfqg(cfqq->cfqg); > >> > >> Which later result in OOPS on bio insertion > >> cfq_insert_request > >> -> blkiocg_update_io_add_stats(&(RQ_CFQG(rq))->blkg,...) > >> -> spin_lock_irqsave(&blkg->stats_lock, flags); > >> > >> Bad commit. > >> >From 7f1dc8a2d2f45fc557b27fd56115338b1d34fc24 Mon Sep 17 00:00:00 2001 > >> From: Vivek Goyal <vgoyal@redhat.com> > >> Date: Wed, 21 Apr 2010 17:44:16 +0200 > >> Subject: [PATCH] blkio: Fix blkio crash during rq stat update > > > > Dmitry, this patch should fix the issue. Can you please give it a try. > Yes. the issue is gone. > > > > Jens, I know you don't like this form of cfq_ref_get_cfqg(), but this > > seems to be the simplest solution to fix it. > IMHO following fix is simpler, and cleaner.
Agreed, that's much better. I'll add it, thanks. -- Jens Axboe --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Dmitry Monakhov
, (Wed Apr 28, 5:44 am)
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Vivek Goyal
, (Wed Apr 28, 6:48 am)
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Vivek Goyal
, (Wed Apr 28, 8:09 am)
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Dmitry Monakhov
, (Wed Apr 28, 8:36 am)
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Vivek Goyal
, (Wed Apr 28, 8:44 am)
Re: CFQ is broken for CONFIG_BLK_CGROUP=y, CFQ_GROUP_IOSCHED=n
, Jens Axboe
, (Wed Apr 28, 10:43 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rusty Russell
Re: 2.6.22-rc3-mm1
Gautham R Shenoy
[PATCH 1/8] Enhance process freezer interface for usage beyond software suspend
Jeffrey V. Merkey
Re: Versioning file system
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
David Miller
Re: NO_HZ: timer interrupt stuck
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Miles Bader
Re: way to automatically add untracked files?
Harvey Harrison
Re: [SoC RFC] libsvn-fs-git: A git backend for the subversion filesystem
Alex Riesen
Re: git exclude patterns for directory
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
netfilter: nf_conntrack_sip: add T.38 FAX support
Linux Kernel Mailing List
drivers/acpi: use kasprintf
linux-netdev
:
Timo Teräs
ip xfrm policy semantics
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
webmaster Maintenance
&#32852;&#31995;&#31995;&#32479;&#31649;&#29702;&#21592;
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
frantisek holop
Re: mount ffs as msdos, system hangs
Colocation donated by:
Syndicate