Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   xtraeme
Date:           Fri Dec  7 11:51:22 UTC 2007

Modified Files:
        src/sbin/bioctl: bioctl.c
        src/sys/dev: biovar.h
        src/sys/dev/pci: arcmsr.c

Log Message:
Add BIOC_SVMIGRATING to bio(4) and bioctl(8) to report if a volume
is migrating currently showing the percentage.

Update arcmsr(4) to report this, like:

$ sudo ./bioctl -h arcmsr0
    Volume Status     Size Device
 arcmsr0 0 Migrating  698G ARC-1210-VOL#00 RAID 5 7% done
         0 Online     234G 0:0.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
         1 Online     234G 0:1.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
         2 Online     234G 0:2.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
         3 Online     234G 0:3.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
$


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sbin/bioctl/bioctl.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/biovar.h
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/arcmsr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index