linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2] dm-raid: Bug fixes
@ 2012-04-16 23:45 Jonathan Brassow
  2012-04-17  4:26 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brassow @ 2012-04-16 23:45 UTC (permalink / raw)
  To: dm-devel, linux-raid; +Cc: agk, neilb

Neil,

I have 3 bugs that I've been working on.  Two I have fixed and one I
have not, but have a question.

The first patch (dm-raid-set-recovery-flags-on-resume) addresses the
fact that some recovery flags are altered during suspend, but not
corrected upon resume.  I'm wondering if you think these flags would be
better pushed into 'mddev_resume' rather that being altered in
dm-raid.c?

The second patch (dm-raid-record-and-handle-missing-devices) adds code
to address the case where the user specifies particular array positions
as missing.  I don't have any significant questions about this patch.

The 3rd issue I am seeing concerns how 'suspend' happens.  Suspend
should flush all outstanding I/O and quiesce.  When I look at the code,
I feel it should be doing this.  ('md_stop_writes' is called and
followed-up by a call to 'mddev_suspend', which quiesces the
personality.)  However, if I create a RAID1 device, suspend it, and then
detach one of the legs, it does not show the changes written immediately
before the suspend.  If I issue a 'sync', then the changes do show-up.
I confused as to why the suspend process doesn't seem to be pushing out
the writes that have been issued.  Any ideas?

Thanks, (the first two patches follow)
 brassow



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

end of thread, other threads:[~2012-04-18  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 23:45 [PATCH 0 of 2] dm-raid: Bug fixes Jonathan Brassow
2012-04-17  4:26 ` NeilBrown
2012-04-18  1:09   ` Brassow Jonathan

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