History log of /src/sys/dev/dm/netbsd-dm.h |
Revision | | Date | Author | Comments |
1.10 |
| 06-Dec-2019 |
tkusumi | dm: Remove trailing whitespace
|
1.9 |
| 03-Dec-2019 |
tkusumi | dm: Remove unused macro DM_CMD_LEN
that was added but never used in both NetBSD and DragonFlyBSD. taken-from: DragonFlyBSD
|
1.8 |
| 04-Jun-2017 |
mbalmer | branches: 1.8.6; fix typo in comment
|
1.7 |
| 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.6 |
| 05-Dec-2009 |
haad | branches: 1.6.22; 1.6.40; Include only user-kernel communication protocol related information in this header.
|
1.5 |
| 01-Dec-2009 |
haad | Revert my commit which have added knowledge about dm targets to libdevmapper, this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can have knowledge about target mapping and libdevmapper only passes requests from lvmtools to kernel and back. Bump major library and driver version.
Requested by: yamt@
|
1.4 |
| 05-Jun-2009 |
haad | Parse dm param string in libdevmapper and not in a dm target init function. Create proplib param dictionary entry in libdevmapper and pass it to dm in dm_ioctl dict. Param target is then passed to target init function, where is parse. I like this aproach much better than passing char **argv and trusting to user input.
I have bumped minor lib/driver version.
XXX. Add more sanity checks in kernel.
|
1.3 |
| 22-Dec-2008 |
haad | branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8; Remove DM_TABLE_DEPS it is not used in kernel driver and it breaks build of libdevmapper because it clashes with DM_TABLE_DEPS from dm-ioctl.h.
|
1.2 |
| 19-Dec-2008 |
haad | Merge the haad-dm branch to -current. This branch adds LVM functionality to the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed device-mapper driver.
The device-mapper driver can be used to create virtual block devices which maps virtual blocks to real with target mapping called target. Currently these targets are available a linear, zero, error and a snapshot (this is work in progress and doesn't work yet).
The lvm2tools adds lvm and dmsetup binary to based system, where the lvm tool is used to manage and administer whole LVM and the dmestup is used to communicate iwith device-mapper kernel driver. With these tools also a libdevmapper library is instaled to the base system.
Building of tools and driver is currently disable and can be enabled with MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.
Oked by agc@ and cube@.
|
1.1 |
| 07-Jul-2008 |
haad | branches: 1.1.2; Add dmgetdefaultdisklabel to get virtual disklabel for Logical Volume device. Add snapshot targets (snapshot, snapshot-origin), add dm_type to dm_dev structure to identify type of device. e.g. we can have mirrored disk device with snapshot on them and spare disk on them. When driver want to work with snapshot devices, it looks to upcalls list and finds all DM_SNAPSHOT devices.
|
1.1.2.6 |
| 05-Nov-2008 |
haad | Fix copyright in TNF licenses.
|
1.1.2.5 |
| 28-Aug-2008 |
haad | Add new parameters to netbsd proplib protocol. Fix flags manipulation in our driver it should behaves like linux now. Fix other minor protocol differences.
|
1.1.2.4 |
| 19-Aug-2008 |
haad | Add $NetBSD$ tag to all dm driver sources.
|
1.1.2.3 |
| 28-Jul-2008 |
haad | Add status function to targets. This function is called from dm_table_status_ioctl, when DM_STATUS_TABLE_FLAG is specified and it's purpose is construct params string. Which can be sent back to libdevmapper.
Add adding removing of the DM_SUSPENDED_FLAG flag in dm_dev_suspend/resume ioctls.
|
1.1.2.2 |
| 11-Jul-2008 |
haad | KNFize my sources add space after comma in function parameters. Wrap to 80 chars per line.
|
1.1.2.1 |
| 07-Jul-2008 |
haad | Import of device-mapper driver. This driver is BSD rewrite of linux dm driver. For now only error, linear and zero targets are supported. This driver uses NetBSD specific ioctl protocola based on proplib.
I was able to create logical volume (with lvm2tools lvcreate utility) with this version of driver, newfs it and mount it.
|
1.3.8.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.3.8.3 |
| 20-Jun-2009 |
yamt | sync with head
|
1.3.8.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.3.8.1 |
| 22-Dec-2008 |
yamt | file netbsd-dm.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:37 +0000
|
1.3.6.1 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.3.4.2 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.3.4.1 |
| 22-Dec-2008 |
skrll | file netbsd-dm.h was added on branch nick-hppapmap on 2009-01-19 13:17:53 +0000
|
1.3.2.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.3.2.1 |
| 22-Dec-2008 |
mjf | file netbsd-dm.h was added on branch mjf-devfs2 on 2009-01-17 13:28:53 +0000
|
1.6.40.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.6.40.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.6.22.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.8.6.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|