linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] raid5-cache fixes
@ 2015-10-09  4:54 Shaohua Li
  2015-10-09  4:54 ` [PATCH 1/9] MD: fix info output for journal disk Shaohua Li
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: Shaohua Li @ 2015-10-09  4:54 UTC (permalink / raw)
  To: linux-raid; +Cc: Kernel-team, songliubraving, hch, dan.j.williams, neilb

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-10-13 21:03 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09  4:54 [PATCH 0/9] raid5-cache fixes Shaohua Li
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

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).