[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110327142135.376142dd@lxorguk.ukuu.org.uk>
Date: Sun, 27 Mar 2011 14:21:35 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Jens Axboe <jaxboe@...ionio.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Chris Mason <chris.mason@...cle.com>,
"Linux/m68k" <linux-m68k@...r.kernel.org>
Subject: Re: [GIT PULL] Core block IO bits for 2.6.39
On Sat, 26 Mar 2011 09:48:37 -0700
Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> On Fri, Mar 25, 2011 at 11:29 PM, Jens Axboe <jaxboe@...ionio.com> wrote:
> > +
> > + /* Use 3ms as that was the old plug delay */
> > + blk_delay_queue(q, msecs_to_jiffies(3));
>
> That's bogus. blk_delay_queue() already takes msecs, not jiffies.
>
> Also, do we really need to delay every unplug like this? It seems sad.
> A 3ms delay is a long time these days - admittedly most people
> hopefully use ATA these days if they have an SSD or something, but
> still..
The ATA code contains several other bogus delays btw. So out of the box
unless you are using AHCI you are continually running small pointless
delays every command issued.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists