Source-Changes archive

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

CVS commit: src/sys/dev/raidframe



Module Name:    src
Committed By:   mrg
Date:           Mon Nov  1 02:35:25 UTC 2010

Modified Files:
        src/sys/dev/raidframe: raidframevar.h rf_copyback.c rf_disks.c
            rf_netbsdkintf.c rf_reconstruct.c

Log Message:
add support for >2TB raid devices.

- add two new members to the component label:
     u_int numBlocksHi
     u_int partitionSizeHi
  and store the top 32 bits of the real number of blocks and
  partition size.  modify rf_print_component_label(),
  rf_does_it_fit(), rf_AutoConfigureDisks() and
  rf_ReconstructFailedDiskBasic().

- call disk_blocksize() after disk_attach() [ from mlelstv ]

- shift the block number relative to DEV_BSHIFT in raidstart()
  and InitBP() so that accesses work for non 512-byte devices.
  [ from mlelstv ]

- update rf_getdisksize() to use the new getdisksize() [ from
  mlelstv.  this part needs a separate change for netbsd-5. ]

reviewed by: oster, christos and darrenr


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/raidframe/raidframevar.h
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -u -r1.274 -r1.275 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.108 -r1.109 src/sys/dev/raidframe/rf_reconstruct.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