All of lore.kernel.org
 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/6] raid5-cache fixes
Date: Sun, 4 Oct 2015 09:20:10 -0700	[thread overview]
Message-ID: <cover.1443973492.git.shli@fb.com> (raw)

Hi,

some fixes for raid5-cache.
patch 1, a small fix
patch 2-3, move reclaim teardown to quiesce handling and add trim support. I
still need md_update_sb there and play the mddev_is_locked trick as the
reconfig_mutex is already hold at md stop. The md_update_sb probably can move
to md core later.
patch 4-6, add error handling. For patch 4, I still need the journal bit check
in in md core, otherwise there is no way to prevent 'echo remove > rdev/state'
to delete journal disk. For patch 6, I didn't change has_failed() yet. Handling
assemble with miss/failed log disk is still on going.

Next step is to make assemble correct with miss/failed log disk. This will need
kernel/utilities cooperation. Song and I are working on it.

Thanks,
Shaohua

Shaohua Li (6):
  md: show journal for journal disk in disk state sysfs
  raid5-cache: move reclaim stop to quiesce
  raid5-cache: add trim support for log
  md: don't export log device
  md: set In_Sync for log disk
  raid5-cache: IO error handling

 drivers/md/md.c          |  9 ++++--
 drivers/md/raid5-cache.c | 83 ++++++++++++++++++++++++++++++++++++++++--------
 drivers/md/raid5.c       |  7 +++-
 drivers/md/raid5.h       |  3 ++
 4 files changed, 85 insertions(+), 17 deletions(-)

-- 
2.4.6


             reply	other threads:[~2015-10-04 16:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-04 16:20 Shaohua Li [this message]
2015-10-04 16:20 ` [PATCH 1/6] md: show journal for journal disk in disk state sysfs Shaohua Li
2015-10-04 16:20 ` [PATCH 2/6] raid5-cache: move reclaim stop to quiesce Shaohua Li
2015-10-04 16:20 ` [PATCH 3/6] raid5-cache: add trim support for log Shaohua Li
2015-10-08  1:53   ` Neil Brown
2015-10-04 16:20 ` [PATCH 4/6] md: don't export log device Shaohua Li
2015-10-08  1:57   ` Neil Brown
2015-10-08  3:16     ` Shaohua Li
2015-10-08  4:16       ` Neil Brown
2015-10-08  4:31         ` Shaohua Li
2015-10-08  6:04           ` Neil Brown
2015-10-13 12:07             ` Christoph Hellwig
2015-10-13 20:41               ` Neil Brown
2015-10-04 16:20 ` [PATCH 5/6] md: set In_Sync for log disk Shaohua Li
2015-10-04 16:20 ` [PATCH 6/6] raid5-cache: IO error handling Shaohua Li
2015-10-08  2:10 ` [PATCH 0/6] raid5-cache fixes Neil Brown
2015-10-08  2:56   ` Shaohua Li
2015-10-08  3:18     ` Neil Brown
2015-10-08  3:24       ` Shaohua Li

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.1443973492.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.