Linux RAID subsystem development
 help / color / mirror / Atom feed
* [md PATCH 0/2] Resend raid10-NULL-deref fix
@ 2018-02-02 22:19 NeilBrown
  2018-02-02 22:19 ` [md PATCH 2/2] md: only allow remove_and_add_spares when no sync_thread running NeilBrown
  2018-02-02 22:19 ` [md PATCH 1/2] md: document lifetime of internal rdev pointer NeilBrown
  0 siblings, 2 replies; 4+ messages in thread
From: NeilBrown @ 2018-02-02 22:19 UTC (permalink / raw)
  To: Shaohua Li; +Cc: linux-raid, yuyufen, colyli

Hi Shaohua,
 you asked me to resend this (second) patch with improved
 comments back in November, and it completely slipped my mind - sorry.
 I decided the comments would fit better in a separate patch,
 so following are a patch to add comments, and then the bugfix
 patch marked for -stable.

 You asked:

   This will bypass hotadd too, is it what we want?

 No, it doesn't.  In the only cases where the patch makes a
 difference, a non-NULL rdev will have been passed as "this",
 so hot-add will be skipped anyway.

 This patch includes a bugfix as reported by yuyufen
 
Thanks,
NeilBrown

---

NeilBrown (2):
      md: document lifetime of internal rdev pointer.
      md: only allow remove_and_add_spares when no sync_thread running.


 drivers/md/md.c     |    4 ++++
 drivers/md/raid1.h  |   12 ++++++++++++
 drivers/md/raid10.h |   13 +++++++++++++
 drivers/md/raid5.c  |    4 ++--
 drivers/md/raid5.h  |   12 ++++++++++++
 5 files changed, 43 insertions(+), 2 deletions(-)

--
Signature


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

end of thread, other threads:[~2018-02-06 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 22:19 [md PATCH 0/2] Resend raid10-NULL-deref fix NeilBrown
2018-02-02 22:19 ` [md PATCH 2/2] md: only allow remove_and_add_spares when no sync_thread running NeilBrown
2018-02-06 14:50   ` Artur Paszkiewicz
2018-02-02 22:19 ` [md PATCH 1/2] md: document lifetime of internal rdev pointer NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox