linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DDF: regression caused by 273989b9 / ce45c819
@ 2013-08-06 18:14 Martin Wilck
  2013-08-07  7:09 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Wilck @ 2013-08-06 18:14 UTC (permalink / raw)
  To: NeilBrown, linux-raid

Hi Neil,

these patches break the unit test 10ddf-geometry. I saw the regression
with both patches applied. The problem occurs when subarrays are
deleted. With these patches in place, sync_metadata() will not overwrite
deleted conf records on disk, but lseek() over them instead. When the
meta data is read back, this will cause errors.

I would like to ask you to play safe here and revert these patches. It
might be possible to fix the --kill-subarray problem, but there are
other possible scenarios where the number of valid conf records on a
disk decreases - I don't think we have a reliable way to check whether
it is safe to skip over empty entries. We must also be prepared for
other DDF implementations to read our meta data, so we must refrain from
putting any writing anything that might be confusing.

Regards
Martin

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

end of thread, other threads:[~2013-08-07  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 18:14 DDF: regression caused by 273989b9 / ce45c819 Martin Wilck
2013-08-07  7:09 ` NeilBrown

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