CVS log for src/sys/dev/dm/dm_table.c
Up to [cvs.NetBSD.org] / src / sys / dev / dm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 21 22:23:33 2021 UTC (5 years, 2 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5
lines
fix typos in sys/dev/dm code comments and documentation.
also remove some trailing space in documentation.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Aug 20 20:25:27 2021 UTC (5 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
fix various typos in comments and log messages.
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:03 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +91 -40
lines
Merge changes from current as of 20200406
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 31 10:30:30 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
dm: Remove unnecessary inlining
These two don't really need to be inlined.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 22 13:16:09 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -4
lines
dm: Make numsec/secsize arguments in dm_table_disksize() optional
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 21 11:59:03 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +49 -2
lines
dm: Remove target's ->deps() by implementing deps in dm core
Retrieving device dependencies doesn't need to be target specific.
The reason it currently needs ->deps() is because dm core doesn't
have data structure that allows table to walk through target's
underlying devices. Add struct dm_mapping to be able to do this,
and remove ->deps()'s from targets which basically do the same thing.
=====(A) before this commit
table
| [dm core]
-------------------------------------------------------
| pdev pdev pdev [dm targets]
v ^ ^ ^
target----/---------/---------/
(void*)
=====(B) this commit
table---->mapping-->mapping-->mapping-->...
| | | |
| v v v [dm core]
-------------------------------------------------------
| pdev pdev pdev [dm targets]
v ^ ^ ^
target----/---------/---------/
(void*)
taken-from: DragonFlyBSD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 15 14:39:42 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -7
lines
dm: Style cleanups (no functional changes)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 15 09:42:29 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -3
lines
dm: Make targets' ->secsize() optional
and make a caller assume secsize 0 if ->secsize not present.
This allows a dummy function to be removed which was added in
"dm: Add dummy target ->sync()/->secsize() to prevent panic on modload(8)".
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 15 09:22:28 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4
lines
dm: "unsigned" -> "unsigned int" for consistency
Use either one, but not both.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Dec 14 10:49:30 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
dm: Remove void casts of function calls
Use of void casts in dm is not consistent, just get rid of them.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Dec 7 15:28:39 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -15
lines
dm: Fix strange pointer declarations
Should be "type *name" or "type* name", but not "type * name".
taken-from: DragonFlyBSD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 7 06:26:31 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -6
lines
dm: Simplify list eviction code
taken-from: DragonFlyBSD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Dec 5 16:59:43 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -7
lines
dm: Make dm core set config to NULL after destroy
Just let dm core do this instead of having a comment expecting each
target to do the right thing.
taken-from: DragonFlyBSD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 4 15:31:12 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -10
lines
dm: style + whitespace + indentation fixes
No functional changes.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jan 5 14:22:26 2018 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -1
lines
use some size_t, add whitespace between functions, rcsids.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 27 17:10:05 2011 UTC (15 years, 2 months ago) by ahoka
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +23 -4
lines
add function to get the inactive table size (for during target init)
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:07 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +36 -1
lines
sync with head
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 23 14:58:13 2010 UTC (15 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +36 -1
lines
make dm aware of physical sector sizes.
For aggregates of multiple disks we use the largest sector size from
all disks. For standard power-of-2 sizes this is the same as the least
common multiple. We still require proper alignment of the targets in
the mapping table.
ok by haad@
Revision 1.2.8.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:26 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.8.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.3: +37 -45
lines
sync with head
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jan 4 00:19:08 2010 UTC (16 years, 10 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip
Branch point for: rmind-uvmplock
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +35 -43
lines
Indent files remove unnecessary blank lines, white spaces and KNFize code.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 23 20:41:11 2009 UTC (17 years ago) by joerg
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Reduce a noise from a debug printf to debug level
Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:46 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -2
lines
Sync with HEAD.
Revision 1.2.8.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:00 2009 UTC (17 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.8.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.8.2: +2 -2
lines
sync with head.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 27 16:10:25 2009 UTC (17 years, 4 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
jymxensuspend-base
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
Some fixes for dm(4).
- Limit accesses to the size of the volume.
This fixes a KASSERT in physio_biodone().
- Change dm_table_size() to return the size of the volume in
DEV_BSIZE units. It was reporting it in DEV_BSIZE^2 units.
- Remove a bit of trailing whitespace.
ok haad
Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:36 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.8.1: +273 -0
lines
sync with head.
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:53 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +273 -0
lines
Sync with HEAD.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:53 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +273 -0
lines
Sync with HEAD.
Revision 1.2.8.1
Fri Dec 19 15:24:03 2008 UTC (17 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.2: +0 -273
lines
file dm_table.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:36 +0000
Revision 1.2.4.1
Fri Dec 19 15:24:03 2008 UTC (17 years, 11 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.2: +0 -273
lines
file dm_table.c was added on branch nick-hppapmap on 2009-01-19 13:17:53 +0000
Revision 1.2.2.1
Fri Dec 19 15:24:03 2008 UTC (17 years, 11 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.2: +0 -273
lines
file dm_table.c was added on branch mjf-devfs2 on 2009-01-17 13:28:53 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 19 15:24:03 2008 UTC (17 years, 11 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jym-xensuspend-base
Branch point for: yamt-nfs-mp,
nick-hppapmap,
mjf-devfs2,
jym-xensuspend
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +273 -0
lines
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@.
Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Wed Nov 5 13:45:02 2008 UTC (18 years ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.11: +2 -2
lines
Fix copyright in TNF licenses.
Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Sun Nov 2 00:02:32 2008 UTC (18 years ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +22 -20
lines
Use typedef in all structures in dm driver and use them in source code.
No functional change expected.
Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Thu Oct 16 23:26:42 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +216 -10
lines
Rewrite locking in dm driver for last time. Replace rwlock with mutex/cv.
Move table lists to separate structure called table_head and access them
through dm_table interface. Thx go@, rmind@ and Dusan Bernat for help and
suggestions.
Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Mon Sep 8 11:36:24 2008 UTC (18 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +2 -3
lines
Fix comment in dm_table and change target alloc function suggested by rmind@.
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:17:38 2008 UTC (18 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +1 -2
lines
Remove unneeded includes.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 19 13:30:36 2008 UTC (18 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +2 -0
lines
Add $NetBSD$ tag to all dm driver sources.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Sat Aug 2 23:00:25 2008 UTC (18 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +9 -6
lines
Fix dm_table_destroy, use example code from queue.h. This should fix
dmsetup remove for zero/error target device.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Jul 29 22:03:00 2008 UTC (18 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +5 -0
lines
Change comment in dm_table_destroy and dm-target_linear_init.
These functions should be called with per device mutex held.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Mon Jul 28 22:39:32 2008 UTC (18 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +0 -3
lines
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.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 19 12:20:44 2008 UTC (18 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +0 -5
lines
*** empty log message ***
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 11 12:40:31 2008 UTC (18 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +4 -4
lines
KNFize my sources add space after comma in function parameters.
Wrap to 80 chars per line.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 7 14:45:53 2008 UTC (18 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +65 -0
lines
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.
Revision 1.1
Mon Jul 7 14:45:53 2008 UTC (18 years, 4 months ago) by haad
Branches: MAIN
CVS tags: simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: haad-dm
FILE REMOVED
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.
CVSweb <webmaster@jp.NetBSD.org>