Re: MD: Feature Request: Estimate of blocks necessary to complete sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14:07, Neil Brown wrote:
> > What would be nice is the addition of something like this:
> > Dec 11 08:59:40 turnip kernel: md: bitmap shows 27 128K blocks requiring sync
> > or
> > Dec 11 08:59:40 turnip kernel: md: bitmap shows 3456K blocks requiring sync
> > or some other analogue.
> > 
> > Seem reasonable?
> 
> Probably.  I wouldn't be too hard to could the number of bits that are
> set.  I guess it could be useful.
> 
> I'll put it on my list :-)

We already have

	printk(KERN_INFO "%s: bitmap initialized from disk: "
		"read %lu/%lu pages, set %lu bits\n",
		bmname(bitmap), bitmap->file_pages, num_pages, bit_cnt);

in bitmap.c. Shouldn't that do the trick?

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux