linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Assume-clean for md grow
@ 2009-02-25 14:22 Chris Webb
  2009-02-25 19:34 ` NeilBrown
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Webb @ 2009-02-25 14:22 UTC (permalink / raw)
  To: linux-raid

I use md arrays made up of slots synthesized through device mapper from
physical storage distributed across a cluster of machines. When these slots
are created, they are guaranteed to be zero-initialised, so I can safely do
mdadm --create --assume-clean to avoid an initial resync.

When I grow the backing slots, the new storage space is also
zero-initialised, so I'd like to be able to do the equivalent of
mdadm --grow --size=max --assume-clean. However, --assume-clean isn't
supported for grow operations.

Is there some way I can tell the kernel driver (perhaps through sysfs) that
the resync is clean/already complete to avoid unnecessary heavy IO on every
grow? I tried things like

  echo idle >/sys/block/mdX/md/sync_action

without success.

Cheers,

Chris.

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

end of thread, other threads:[~2009-02-26 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25 14:22 Assume-clean for md grow Chris Webb
2009-02-25 19:34 ` NeilBrown
2009-02-26 14:54   ` Chris Webb
2009-02-26 15:57     ` Chris Webb
2009-02-26 16:03       ` Chris Webb

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