public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: "J.A. Magallón" <jamagallon@ono.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.21-rc2-mm2
Date: Tue, 6 Mar 2007 12:14:44 +0100	[thread overview]
Message-ID: <20070306111444.GE20362@kernel.dk> (raw)
In-Reply-To: <20070306100623.770b9dc9@werewolf-wl>

On Tue, Mar 06 2007, J.A. Magallón wrote:
> On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > 
> > Temporarily at
> > 
> >   http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
> > 
> 
> Does this include a fix for the NFS problem ?
> 
> BTW, I have in my kernel a patch like this below, isn't it needed ?
> Original thread:
> 
> http://marc.theaimsgroup.com/?l=linux-kernel&m=117189051227292&w=2
> 
> --- a/block/ll_rw_blk.c
> +++ b/block/ll_rw_blk.c
> @@ -2919,14 +2919,14 @@ static int __make_request(request_queue_
>  	 */
>  	blk_queue_bounce(q, &bio);
>  
> +	spin_lock_irq(q->queue_lock);
>  	/*
>  	 * Check if we can merge with the plugged list before grabbing
>  	 * any locks.
>  	 */
>  	if (!check_plug_merge(q, ioc, bio))
> -		goto out;
> +		goto out_unlock;
>  
> -	spin_lock_irq(q->queue_lock);
>  	el_ret = elv_merge(q, &req, bio);
>  	if (el_ret == ELEVATOR_BACK_MERGE) {
>  		if (bio_attempt_back_merge(q, req, bio)) {
> @@ -2984,7 +2984,6 @@ out_unlock:
>  		list_add_tail(&req->queuelist, &ioc->plugged_list);
>  	}
>  
> -out:
>  	return 0;
>  
>  end_io_eopnotsupp:

No it's not, plus andrew didn't include git-block in this release so
you'd have a hard time even applying it. The above patch would also
eliminate 50% of the win of per-process plugging, if you go and grab the
queue lock anyway.

-- 
Jens Axboe


  parent reply	other threads:[~2007-03-06 11:15 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06  8:44 2.6.21-rc2-mm2 Andrew Morton
2007-03-06  9:06 ` 2.6.21-rc2-mm2 J.A. Magallón
2007-03-06  9:15   ` 2.6.21-rc2-mm2 Andrew Morton
2007-03-06  9:38     ` 2.6.21-rc2-mm2 J.A. Magallón
2007-03-06  9:42       ` 2.6.21-rc2-mm2 Andrew Morton
2007-03-06  9:44         ` 2.6.21-rc2-mm2 J.A. Magallón
2007-03-06 11:14   ` Jens Axboe [this message]
2007-03-06 10:27 ` 2.6.21-rc2-mm2 KAMEZAWA Hiroyuki
2007-03-06 11:09   ` 2.6.21-rc2-mm2 Andrew Morton
2007-03-06 11:35     ` 2.6.21-rc2-mm2 KAMEZAWA Hiroyuki
2007-03-07  6:23       ` [BUGFIX][PATCH] fix NULL pointer in ia64/irq_chip-mask/unmask function KAMEZAWA Hiroyuki
2007-03-07  6:57         ` Andrew Morton
2007-03-07  7:32           ` KAMEZAWA Hiroyuki
2007-03-08  8:41   ` 2.6.21-rc2-mm2 Magnus Damm
2007-03-06 11:58 ` 2.6.21-rc2-mm2 Con Kolivas
2007-03-06 12:52   ` 2.6.21-rc2-mm2 Thomas Gleixner
2007-03-06 13:24     ` 2.6.21-rc2-mm2 Con Kolivas
2007-03-06 14:47       ` 2.6.21-rc2-mm2 Thomas Gleixner
2007-03-06 20:19         ` 2.6.21-rc2-mm2 Con Kolivas
2007-03-06 15:46 ` 2.6.21-rc2-mm2 J.A. Magallón
2007-03-07  6:24   ` 2.6.21-rc2-mm2 Jean Delvare
2007-03-07  8:39 ` 2.6.21-rc2-mm2 Sébastien Dugué
2007-03-07  8:49   ` 2.6.21-rc2-mm2 Andrew Morton
2007-03-07  9:30     ` 2.6.21-rc2-mm2 Sébastien Dugué
2007-03-07 19:46 ` 2.6.21-rc2-mm2 Luiz Fernando N. Capitulino
2007-03-07 19:52   ` 2.6.21-rc2-mm2 Andrew Morton
2007-03-08  7:20     ` 2.6.21-rc2-mm2 Mike Galbraith
2007-03-07 22:12 ` 2.6.21-rc2-mm2 hang Dave Hansen
2007-03-07 22:46   ` Andrew Morton
     [not found]   ` <20070307221628.GD26473@linux-os.sc.intel.com>
2007-03-07 23:07     ` Dave Hansen
2007-03-07 23:16       ` Andrew Morton
2007-03-08 15:07         ` Michal Piotrowski
2007-03-08  1:07   ` Siddha, Suresh B
2007-03-07 22:41 ` [RFC: -mm patch] #if 0 mmc_deselect_cards() Adrian Bunk
2007-03-08  5:47   ` Pierre Ossman
2007-03-19  9:21     ` [-mm patch] remove mmc_deselect_cards() Adrian Bunk
2007-03-08  6:31   ` MMC: Fix typo in mmc highspeed Kyungmin Park
2007-03-07 22:41 ` 2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity Adrian Bunk
2007-03-07 23:00   ` Andrew Morton
2007-03-08  8:02     ` Adrian Bunk
2007-03-09  2:11     ` Tony Breeds
2007-03-09 14:19       ` John W. Linville
2007-03-09 17:14         ` Randy Dunlap
2007-03-12  3:43           ` Tony Breeds
2007-03-08  0:03 ` e1000 oops on boot [Re: 2.6.21-rc2-mm2] J.A. Magallón
2007-03-08  0:23   ` Andrew Morton
2007-03-08  0:28     ` Randy Dunlap
2007-03-08  0:35       ` Kok, Auke
  -- strict thread matches above, loose matches on Subject: below --
2007-03-06 16:08 2.6.21-rc2-mm2 Nicolas Mailhot

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=20070306111444.GE20362@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=jamagallon@ono.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