linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shaohua Li <shli@fb.com>
To: linux-raid@vger.kernel.org
Cc: Kernel-team@fb.com, songliubraving@fb.com, hch@infradead.org,
	dan.j.williams@intel.com, neilb@suse.de
Subject: [PATCH 0/9] raid5-cache fixes
Date: Thu, 8 Oct 2015 21:54:04 -0700	[thread overview]
Message-ID: <cover.1444360850.git.shli@fb.com> (raw)

Hi,

some fixes for raid5-cache/md. Mainly supports trim, handle IO error and
handling array assemble with missing/faulty disks.
patch 1: fix a bug
patch 2: support trim
patch 3-4, IO error handling
patch 5-9, handle assemble issue when journal disk is missing/faulty

If there is IO error to journal disk, write IO will fail immediately. If we
assemble an array with journal feature enabled but with journal disk
missing/faulty, the raid array will start readonly.

Thanks,
Shaohua

Shaohua Li (6):
  MD: fix info output for journal disk
  raid5-cache: add trim support for log
  raid5: journal disk can't be removed
  raid5-cache: IO error handling
  raid5-cache: start raid5 readonly if journal is missing
  MD: set journal disk ->raid_disk

Song Liu (3):
  MD: add new bit to indicate raid array with journal
  MD: kick out journal disk if it's not fresh
  MD: when RAID journal is missing/faulty, block RESTART_ARRAY_RW

 drivers/md/md.c          | 77 +++++++++++++++++++++++++++++++++++++---------
 drivers/md/md.h          |  1 +
 drivers/md/raid5-cache.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++--
 drivers/md/raid5.c       | 29 ++++++++++++++++--
 drivers/md/raid5.h       |  2 ++
 5 files changed, 169 insertions(+), 19 deletions(-)

-- 
2.4.6


             reply	other threads:[~2015-10-09  4:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09  4:54 Shaohua Li [this message]
2015-10-09  4:54 ` [PATCH 1/9] MD: fix info output for journal disk Shaohua Li
2015-10-12  5:37   ` Neil Brown
2015-10-12 17:01     ` Shaohua Li
2015-10-12 23:26       ` Neil Brown
2015-10-12 23:38         ` Shaohua Li
2015-10-09  4:54 ` [PATCH 2/9] raid5-cache: add trim support for log Shaohua Li
2015-10-12  6:00   ` Neil Brown
2015-10-12 16:57     ` Shaohua Li
2015-10-09  4:54 ` [PATCH 3/9] raid5: journal disk can't be removed Shaohua Li
2015-10-09  4:54 ` [PATCH 4/9] raid5-cache: IO error handling Shaohua Li
2015-10-09  4:54 ` [PATCH 5/9] MD: add new bit to indicate raid array with journal Shaohua Li
2015-10-09  4:54 ` [PATCH 6/9] raid5-cache: start raid5 readonly if journal is missing Shaohua Li
2015-10-09  4:54 ` [PATCH 7/9] MD: kick out journal disk if it's not fresh Shaohua Li
2015-10-09  4:54 ` [PATCH 8/9] MD: set journal disk ->raid_disk Shaohua Li
2015-10-09  4:54 ` [PATCH 9/9] MD: when RAID journal is missing/faulty, block RESTART_ARRAY_RW Shaohua Li
2015-10-12  6:17 ` [PATCH 0/9] raid5-cache fixes Neil Brown
2015-10-13 21:03 ` Neil Brown

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=cover.1444360850.git.shli@fb.com \
    --to=shli@fb.com \
    --cc=Kernel-team@fb.com \
    --cc=dan.j.williams@intel.com \
    --cc=hch@infradead.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=songliubraving@fb.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;
as well as URLs for NNTP newsgroup(s).