login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
February
»
19
Re: dirty balancing deadlock
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Miklos Szeredi
Subject:
Re: dirty balancing deadlock
Date: Sunday, February 18, 2007 - 5:30 pm
> --- a/fs/fs-writeback.c~a
quoted text
> +++ a/fs/fs-writeback.c > @@ -356,7 +356,7 @@ int generic_sync_sb_inodes(struct super_ > continue; /* Skip a congested blockdev */ > } > > - if (wbc->bdi && bdi != wbc->bdi) { > + if (wbc->bdi && bdi != wbc->bdi && bdi_write_congested(bdi)) { > if (!sb_is_blkdev_sb(sb)) > break; /* fs has the wrong queue */ > list_move(&inode->i_list, &sb->s_dirty);
Checking bdi_write_congested(bdi) is not reliable, since the queue can become congested _after_ the check is done. Miklos -
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:
dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 11:28 am)
Re: dirty balancing deadlock
, Andrew Morton
, (Sun Feb 18, 1:53 pm)
Re: dirty balancing deadlock
, Rik van Riel
, (Sun Feb 18, 2:25 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 3:50 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 3:54 pm)
Re: dirty balancing deadlock
, Andrew Morton
, (Sun Feb 18, 3:59 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 4:22 pm)
Re: dirty balancing deadlock
, Andrew Morton
, (Sun Feb 18, 4:59 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 5:25 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 5:30 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 5:45 pm)
Re: dirty balancing deadlock
, Chris Mason
, (Sun Feb 18, 5:45 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 5:54 pm)
Re: dirty balancing deadlock
, Chris Mason
, (Sun Feb 18, 6:01 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Sun Feb 18, 6:14 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Mon Feb 19, 10:11 am)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Mon Feb 19, 4:12 pm)
Re: dirty balancing deadlock
, Chris Mason
, (Mon Feb 19, 5:13 pm)
Re: dirty balancing deadlock
, Chris Mason
, (Mon Feb 19, 5:16 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Tue Feb 20, 1:47 am)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Tue Feb 20, 1:53 am)
Re: dirty balancing deadlock
, Chris Mason
, (Tue Feb 20, 4:30 am)
Re: dirty balancing deadlock
, Andrew Morton
, (Wed Feb 21, 2:36 pm)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Thu Feb 22, 12:42 am)
Re: dirty balancing deadlock
, Andrew Morton
, (Thu Feb 22, 12:55 am)
Re: dirty balancing deadlock
, Miklos Szeredi
, (Thu Feb 22, 1:02 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices