Home | History | Annotate | Download | only in dev
History log of /src/sys/dev/biovar.h
RevisionDateAuthorComments
 1.11  10-May-2022  msaitoh Add comment. bv_stripe_size is used in KB.
 1.10  06-Sep-2015  dholland More on PR 41200: headers that declare ioctls should include sys/ioccom.h.
This covers (I think) all the MI headers outside of external/ (and dist/).
 1.9  12-Mar-2015  christos Dedup the conversion of bioc_disk and bioc_vol to envsys_data_t
 1.8  07-May-2009  cegger branches: 1.8.22; 1.8.40;
struct device * -> device_t, no functional changes intended.
 1.7  03-Mar-2008  xtraeme branches: 1.7.4; 1.7.18;
Add definitions to specify RAID 0+1/1+0 levels.
 1.6  02-Jan-2008  xtraeme branches: 1.6.2; 1.6.6;
Improve the bio(4) API for incoming changes to arcmsr(4) (and perhaps
other drivers in the future):

- Added BIOC_SVCHECKING to the BIOCVOL ioctl, to know if a volume is
running a consistency check.
- Added three more volume levels for the BIOCVOL ioctl.
- Added BIOC_SDPASSTHRU to the BIOCDISK ioctl, to know if a disk is
in pass-through mode.
- Added BIOCDISK_NOVOL; it's used with the same reason than BIOCDISK,
but it's used only to get information about the physical disks connected
in a controller (regardless if they are in a volume set or not).
- Added BIOC_SSDELHOTSPARE, BIOC_SSPASTHRU, BIOC_SSDELPASSTHRU,
BIOC_SSCHECKSTART_VOL and BIOC_SSCHECKSTOPVOL; to remove a hot-spare,
add and remove a pass-through disk and to start/stop a consistency
check in a volume.
- Added the BIOC_VOLOPS ioctl; to create/remove a volume set.
- Removed the BIOCCREATERAID ioctl, it was too limited for my needs.
- Added compatibility ioctls for BIOCDISK and BIOCVOL, enabled via COMPAT_30.
 1.5  07-Dec-2007  xtraeme branches: 1.5.4;
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>
$
 1.4  02-Nov-2007  xtraeme branches: 1.4.2; 1.4.4;
u_quad_t -> uint64_t as suggested by thorpej@.
 1.3  02-Nov-2007  xtraeme KNF, MALLOC -> malloc, u_intXX_t -> uintXX_t.
 1.2  02-Nov-2007  xtraeme Make bd_size and bv_size u_quad_t rather than size_t, for large RAID
volumes. Reported a while ago by mhitch@.
 1.1  01-May-2007  bouyer branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.14; 1.1.16; 1.1.18; 1.1.22; 1.1.24;
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
 1.1.24.1  13-Nov-2007  bouyer Sync with HEAD
 1.1.22.3  15-Oct-2007  riz Clean up after a mistake I made pulling up ticket #1838. We
really only need one copy of each new file. :-)
 1.1.22.2  15-Oct-2007  riz Pull up following revisions via patch (requested by bouyer in ticket #1838):
distrib/sets/lists/man/mi: revision 1.997
sbin/bioctl/strtonum.c: revision 1.1
sys/dev/Makefile: revision 1.25
sys/arch/amd64/conf/GENERIC: revision 1.139
sbin/bioctl/strtonum.h: revision 1.1
sys/dev/bio.c: revision 1.1
sbin/bioctl/bioctl.c: revision 1.1
share/man/man4/bio.4: revision 1.1
sbin/bioctl/bioctl.8: revision 1.1
sys/sys/envsys.h: revision 1.11
sbin/bioctl/bioctl.8: revision 1.3
sbin/bioctl/bioctl.8: revision 1.4
sys/arch/i386/conf/XEN2_DOM0: revision 1.25
distrib/sets/lists/base/mi: revision 1.704
sys/conf/majors: revision 1.34
share/man/man4/Makefile: revision 1.426
etc/MAKEDEV.tmpl: revision 1.86
sys/arch/i386/conf/GENERIC: revision 1.825
distrib/sets/lists/comp/mi: revision 1.1022
sys/conf/files: revision 1.839
usr.sbin/envstat/envstat.c: revision 1.24
sbin/Makefile: revision 1.105
sys/dev/ic/mfi.c: revision 1.4
sys/dev/biovar.h: revision 1.1
sys/dev/ic/mfivar.h: revision 1.4
sbin/bioctl/Makefile: revision 1.1
Fix typo.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
Create /dev/bio
 1.1.22.1  01-May-2007  riz file biovar.h was added on branch netbsd-3 on 2007-10-15 05:09:53 +0000
 1.1.18.6  17-Mar-2008  yamt sync with head.
 1.1.18.5  21-Jan-2008  yamt sync with head
 1.1.18.4  07-Dec-2007  yamt sync with head
 1.1.18.3  15-Nov-2007  yamt sync with head.
 1.1.18.2  03-Sep-2007  yamt sync with head.
 1.1.18.1  01-May-2007  yamt file biovar.h was added on branch yamt-lazymbuf on 2007-09-03 14:33:09 +0000
 1.1.16.3  23-Mar-2008  matt sync with HEAD
 1.1.16.2  09-Jan-2008  matt sync with HEAD
 1.1.16.1  06-Nov-2007  matt sync with HEAD
 1.1.14.2  09-Dec-2007  jmcneill Sync with HEAD.
 1.1.14.1  04-Nov-2007  jmcneill Sync with HEAD.
 1.1.8.2  11-Jul-2007  mjf Sync with head.
 1.1.8.1  01-May-2007  mjf file biovar.h was added on branch mjf-ufs-trans on 2007-07-11 20:04:57 +0000
 1.1.6.2  09-Jun-2007  ad Sync with head.
 1.1.6.1  01-May-2007  ad file biovar.h was added on branch vmlocking on 2007-06-09 21:37:11 +0000
 1.1.4.4  29-Aug-2008  bouyer Apply patch, requested by christos in tickets #1175:
sys/dev/bio.c patch
sys/dev/biovar.h patch
sys/dev/pci/arcmsr.c patch
sys/dev/pci/arcmsrvar.h patch
sbin/bioctl/Makefile patch
sbin/bioctl/bioctl.8 patch
sbin/bioctl/bioctl.c patch
sbin/bioctl/dehumanize_number.c patch
sbin/bioctl/strtonum.c patch
sbin/bioctl/strtonum.h patch

Port bioctl(8) and arcmsr(4) from current:
bioctl(8): Rewritten to handle new features like creating/removing
hot-spare, pass-through disks and RAID volumes, start/stop
consistency checks in volumes and others.
arcmsr(4): Added support to create/remove hot-spare, pass-through
disks and RAID volumes, start/stop consistency checks
in volumes as well as showing information about physical
disks (even if they are marked as hot-spare, pass-through
or unused).
 1.1.4.3  04-Nov-2007  pavel Pull up following revisions (requested by xtraeme in ticket #969):
sys/dev/biovar.h: revision 1.2,1.4
Make bd_size and bv_size u_quad_t rather than size_t, for large RAID
volumes. Reported a while ago by mhitch@.
u_quad_t -> uint64_t as suggested by thorpej@.
 1.1.4.2  08-May-2007  pavel branches: 1.1.4.2.2;
Pull up following revision(s) (requested by bouyer in ticket #603):
distrib/sets/lists/base/mi: revision 1.704
distrib/sets/lists/comp/mi: revision 1.1022
distrib/sets/lists/man/mi: revision 1.997
doc/CHANGES: revision 1.839
sbin/Makefile: patch
sbin/bioctl/Makefile: revision 1.1
sbin/bioctl/bioctl.8: revision 1.1
sbin/bioctl/bioctl.c: revision 1.1
sbin/bioctl/strtonum.c: revision 1.1
sbin/bioctl/strtonum.h: revision 1.1
share/man/man4/Makefile: revision 1.426
share/man/man4/bio.4: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.139
sys/arch/i386/conf/GENERIC: revision 1.825
sys/arch/i386/conf/XEN2_DOM0: revision 1.25
sys/conf/files: revision 1.839
sys/conf/majors: patch
sys/dev/Makefile: revision 1.25
sys/dev/bio.c: patch
sys/dev/biovar.h: patch
sys/dev/ic/mfi.c: revision 1.4-1.5
sys/dev/ic/mfivar.h: revision 1.4
sys/sys/envsys.h: revision 1.11
usr.sbin/envstat/envstat.c: revision 1.24
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

note bio(4), envsys(4) DRIVE, and mfi(4) support for both.

tred->sensor is a u_int.
 1.1.4.1  01-May-2007  pavel file biovar.h was added on branch netbsd-4 on 2007-05-08 10:45:05 +0000
 1.1.4.2.2.2  04-Sep-2008  skrll Sync with netbsd-4.
 1.1.4.2.2.1  06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.1.2.2  07-May-2007  yamt sync with head.
 1.1.2.1  01-May-2007  yamt file biovar.h was added on branch yamt-idlelwp on 2007-05-07 10:55:23 +0000
 1.4.4.1  08-Dec-2007  ad Sync with head.
 1.4.2.2  18-Feb-2008  mjf Sync with HEAD.
 1.4.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.5.4.1  08-Jan-2008  bouyer Sync with HEAD
 1.6.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.6.2.1  24-Mar-2008  keiichi sync with head.
 1.7.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.4.1  16-May-2009  yamt sync with head
 1.8.40.2  22-Sep-2015  skrll Sync with HEAD
 1.8.40.1  06-Apr-2015  skrll Sync with HEAD
 1.8.22.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed