linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* spurious dots in dmesg when reconstructing arrays
@ 2006-08-17 10:41 Michael Tokarev
  2006-08-17 11:44 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tokarev @ 2006-08-17 10:41 UTC (permalink / raw)
  To: linux-raid

A long time ago I noticied pretty bad formatting of
dmesg text in md array reconstruction output, but
never bothered to ask.  So here it goes.

Example dmesg ("RAID conf printout" sections omitted):

md: bind<sdb1>
RAID1 conf printout:
..........<6>md: syncing RAID array md1
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 248896 blocks.
md: bind<sdb2>
RAID5 conf printout:
..........<6>md: delaying resync of md2 until md1 has finished resync (they share one or more physical units)
md: bind<sdb3>
RAID1 conf printout:
..........<6>md: delaying resync of md31 until md1 has finished resync (they share one or more physical units)
........<6>md: delaying resync of md2 until md31 has finished resync (they share one or more physical units)
md: bind<sdb5>
RAID5 conf printout:
........<6>md: delaying resync of md5 until md31 has finished resync (they share one or more physical units)
..........<6>md: delaying resync of md31 until md1 has finished resync (they share one or more physical units)
......<6>md: delaying resync of md2 until md5 has finished resync (they share one or more physical units)
md: bind<sdb6>
RAID1 conf printout:
......<6>md: delaying resync of md61 until md5 has finished resync (they share one or more physical units)
..........<6>md: delaying resync of md31 until md1 has finished resync (they share one or more physical units)
......<6>md: delaying resync of md2 until md5 has finished resync (they share one or more physical units)
........<6>md: delaying resync of md5 until md31 has finished resync (they share one or more physical units)
md: bind<sdb7>
RAID5 conf printout:
......<6>md: delaying resync of md7 until md5 has finished resync (they share one or more physical units)
..........<6>md: delaying resync of md31 until md1 has finished resync (they share one or more physical units)
........<6>md: delaying resync of md5 until md31 has finished resync (they share one or more physical units)
......<6>md: delaying resync of md2 until md5 has finished resync (they share one or more physical units)
..<6>md: delaying resync of md61 until md7 has finished resync (they share one or more physical units)
md: md1: sync done.
..<6>md: delaying resync of md61 until md7 has finished resync (they share one or more physical units)
......<6>md: delaying resync of md2 until md5 has finished resync (they share one or more physical units)
........<6>md: delaying resync of md5 until md31 has finished resync (they share one or more physical units)
...................<6>md: syncing RAID array md31
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 995904 blocks.
......<6>md: delaying resync of md7 until md5 has finished resync (they share one or more physical units)
RAID1 conf printout:
md: md31: sync done.
....RAID1 conf printout:
=== here, the actual conf printout is below:
...<6>md: delaying resync of md7 until md5 has finished resync (they share one or more physical units)
...................<6>md: syncing RAID array md5
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 666560 blocks.
===== here:
 --- wd:2 rd:2
 disk 0, wo:0, o:1, dev:sdb3
 disk 1, wo:0, o:1, dev:sdd3
..<6>md: delaying resync of md61 until md7 has finished resync (they share one or more physical units)
......<6>md: delaying resync of md2 until md5 has finished resync (they share one or more physical units)
md: md5: sync done.
........<6>md: delaying resync of md7 until md2 has finished resync (they share one or more physical units)
..<6>md: delaying resync of md61 until md7 has finished resync (they share one or more physical units)
..................<6>md: syncing RAID array md2
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 1252992 blocks.
RAID5 conf printout:
md: md2: sync done.
...<6>md: delaying resync of md61 until md7 has finished resync (they share one or more physical units)
..................<6>md: syncing RAID array md7
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 1999936 blocks.
RAID5 conf printout:
md: md7: sync done.
...................<6>md: syncing RAID array md61
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 30394880 blocks.
RAID5 conf printout:
md: md61: sync done.
RAID1 conf printout:

....

As you can see, there's a random number of dots before each
"<6>md: syncing RAID array .." message.  I guess this is sort of
progress meter for other arrays being synchronized.  Obviously,
such a long lines (long in terms of *time* required to complete
the line, not in terms of line length) should not be in dmesg
in the first place.

But the thing is: I've no idea where this dot is coming from... ;)

Can we fix this umm.. misformatting please? ;)

Thanks.

/mjt

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

* Re: spurious dots in dmesg when reconstructing arrays
  2006-08-17 10:41 spurious dots in dmesg when reconstructing arrays Michael Tokarev
@ 2006-08-17 11:44 ` Neil Brown
  2006-08-17 12:15   ` Michael Tokarev
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2006-08-17 11:44 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: linux-raid

On Thursday August 17, mjt@tls.msk.ru wrote:
> A long time ago I noticied pretty bad formatting of
> dmesg text in md array reconstruction output, but
> never bothered to ask.  So here it goes.

What kernel version?
My patch logs suggest that I fixed that about 1 year ago...
which means it is still in SLES9 at least :-)

> 
> But the thing is: I've no idea where this dot is coming from... ;)
> 

drivers/md/md.c.  md_do_sync.  Immediately after
	ITERAE_MDDEV(mddev2,tmp) {


> Can we fix this umm.. misformatting please? ;)

Done that.

NeilBrown

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

* Re: spurious dots in dmesg when reconstructing arrays
  2006-08-17 11:44 ` Neil Brown
@ 2006-08-17 12:15   ` Michael Tokarev
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2006-08-17 12:15 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

Neil Brown wrote:
> On Thursday August 17, mjt@tls.msk.ru wrote:
>> A long time ago I noticied pretty bad formatting of
>> dmesg text in md array reconstruction output, but
>> never bothered to ask.  So here it goes.
> 
> What kernel version?
> My patch logs suggest that I fixed that about 1 year ago...
> which means it is still in SLES9 at least :-)

Okay, er, me bad.  I was looking at the 2.6.17 source trying
to find that dot, but the kernel from which the messages are
is 2.6.11-based, which is indeed more than a year old.  Sure
I can't find where that dot is coming from in 2.6.17! ;)
Oh well.

Thank you, and sorry for the noise.

/mjt

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

end of thread, other threads:[~2006-08-17 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-17 10:41 spurious dots in dmesg when reconstructing arrays Michael Tokarev
2006-08-17 11:44 ` Neil Brown
2006-08-17 12:15   ` Michael Tokarev

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