Linux RAID subsystem development
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: "Yucong Sun (叶雨飞)" <sunyucong@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid10 and page cache
Date: Wed, 7 Dec 2011 15:28:53 +1100	[thread overview]
Message-ID: <20111207152853.42594fc9@notabene.brown> (raw)
In-Reply-To: <CAJygYd3j5HwGyZ7rTKZj5dr=cXDOpy3jK=6AyOVKJY0PX3bdtA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

On Tue, 6 Dec 2011 20:04:33 -0800 Yucong Sun (叶雨飞) <sunyucong@gmail.com>
wrote:

> The problem with using page-flush as a write cache here is that write
> to MD don't go through IO scheduler, which is a very big problem,
> because when flush thread decide to write to MD,  it's impossible to
> control the write speed, or prioritize them with read, every requests
> basically is a fifo,  and when flush size is big, no read can be
> served.
> 

I'm not sure I understand....

Requests don't go through an IO scheduler before they hit md, but they do
after md sends them on down, so they can be re-ordered there.

There was a bug where raid10 would allow an arbitrary number of writes to
queue up so that flushing code didn't know when to stop.

This was fixed by 
   commit 34db0cd60f8a1f4ab73d118a8be3797c20388223

nearly 2 months ago :-)

NeilBrown


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2011-12-07  4:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJygYd16PWfKe8fK-b150N46CEwzBUqJn1N6dfsGR4yyTgGbTQ@mail.gmail.com>
2011-12-06 22:01 ` Raid10 and page cache Yucong Sun (叶雨飞)
2011-12-06 22:26   ` NeilBrown
2011-12-06 23:13     ` Yucong Sun (叶雨飞)
2011-12-06 23:22       ` Marcus Sorensen
2011-12-07  1:01       ` NeilBrown
2011-12-07  4:04         ` Yucong Sun (叶雨飞)
2011-12-07  4:28           ` NeilBrown [this message]
2011-12-07  4:50             ` Yucong Sun (叶雨飞)
2011-12-07  5:10               ` NeilBrown
2011-12-07  6:14                 ` Yucong Sun (叶雨飞)
2011-12-07  9:21                   ` Yucong Sun (叶雨飞)
2011-12-07 23:37                     ` Yucong Sun (叶雨飞)
2011-12-08  0:10                       ` NeilBrown
2011-12-08  6:31                         ` Yucong Sun (叶雨飞)

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=20111207152853.42594fc9@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=sunyucong@gmail.com \
    /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