#
a70f355b |
| 21-Aug-2021 |
andvar <andvar@NetBSD.org> |
fix typos in sys/dev/dm code comments and documentation. also remove some trailing space in documentation.
|
#
b5a91dc2 |
| 08-Jul-2020 |
thorpej <thorpej@NetBSD.org> |
Adapt to proplib API chanages.
|
#
7b5209fa |
| 31-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: Remove unnecessary inlining
These two don't really need to be inlined.
|
#
46f14759 |
| 15-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: Style cleanups (no functional changes)
|
#
d9c59a05 |
| 14-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: Remove void casts of function calls
Use of void casts in dm is not consistent, just get rid of them.
|
#
b794fcf3 |
| 07-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: Fix strange pointer declarations
Should be "type *name" or "type* name", but not "type * name". taken-from: DragonFlyBSD
|
#
9dea6936 |
| 04-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: style + whitespace + indentation fixes
No functional changes.
|
#
6664a499 |
| 03-Dec-2019 |
tkusumi <tkusumi@NetBSD.org> |
dm: Make global dm locks static
These are all per-file locks which protect dev/pdev/target structure. taken-from: DragonFlyBSD
|
#
249cf593 |
| 05-Jan-2018 |
christos <christos@NetBSD.org> |
use some size_t, add whitespace between functions, rcsids.
|
#
fd34ea77 |
| 01-Jun-2017 |
chs <chs@NetBSD.org> |
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
al
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
show more ...
|
#
f0a7346d |
| 18-Oct-2014 |
snj <snj@NetBSD.org> |
src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
#
293fc006 |
| 04-Jan-2010 |
haad <haad@NetBSD.org> |
Indent files remove unnecessary blank lines, white spaces and KNFize code.
|
#
36fe0698 |
| 29-Dec-2009 |
haad <haad@NetBSD.org> |
Add private lock to dm_dev_t used for mutual exclusion for diks(9) api routines. This change fixes PR kern/42532.
|
#
76a0c0e7 |
| 09-Sep-2009 |
haad <haad@NetBSD.org> |
Fix bug in kmem_alloc/kmem_free of params string. Params string was allocated with length DM_MAX_PARAMS_SIZE and released with strlen + 1 size.
Disable KM_NOSLEEP allocation because we do not need t
Fix bug in kmem_alloc/kmem_free of params string. Params string was allocated with length DM_MAX_PARAMS_SIZE and released with strlen + 1 size.
Disable KM_NOSLEEP allocation because we do not need them here there is nothing critical in ioctl part of dm driver.
Bug reported by jak@.
show more ...
|
#
33e2a4a9 |
| 13-Apr-2009 |
haad <haad@NetBSD.org> |
Destroy locks in dm_dev_free, do not allocate struct disk twice.
|
#
df7f595e |
| 18-Mar-2009 |
cegger <cegger@NetBSD.org> |
Ansify function definitions w/o arguments. Generated with sed.
|
#
50b5b59c |
| 06-Mar-2009 |
haad <haad@NetBSD.org> |
Fix lvm lvrename command. There was bug in dm_dev_lookup where dm_dev_lookup_name was called with device uuid. Remove dm_dev_t:dk_label is it not used anymore.
|
#
c9d0c62a |
| 19-Dec-2008 |
haad <haad@NetBSD.org> |
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 b
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@.
show more ...
|