Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1 |
|
#
b1999ea8 |
| 28-Mar-2020 |
Sascha Wildner <saw@online.de> |
kernel: Remove <sys/n{amei,lookup}.h> from all files that don't need it.
|
#
d2348894 |
| 28-Mar-2020 |
Sascha Wildner <saw@online.de> |
kernel/dm: Include <sys/proc.h> for proc0.
|
Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1 |
|
#
28d082dd |
| 09-Oct-2016 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Make dmdebug() print __func__
and fix/remove dmdebug calls that could be cleaned up or simplified.
|
Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc |
|
#
c8e73ea2 |
| 19-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanup header includes
dm.h depends on <sys/vnode.h>, so dm.h should include it instead of having c files that depend on dm.h include it.
|
#
30ef4508 |
| 17-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanup header includes
|
#
b7c11cda |
| 13-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanups
* Fix comments. * Add a blank line between functions. * Some minor fixes on dm core.
|
#
41d37b86 |
| 11-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix/refactor alloc/free functions [3/6]
dm_dev_alloc()/free() * Make them static. * Make alloc() take name and uuid just like dm_pdev_alloc(). * Refactoring.
dm_pdev_alloc()/free()
sys/dev/disk/dm: Fix/refactor alloc/free functions [3/6]
dm_dev_alloc()/free() * Make them static. * Make alloc() take name and uuid just like dm_pdev_alloc(). * Refactoring.
dm_pdev_alloc()/free() * Fix memory leak. * Rename dm_pdev_rem() to dm_pdev_free(). A simple kfree function should be xxx_free() but not xxx_rem(). xxx_rem() isn't necessarily a name used for just kfree() in other files, which makes naming very confusing. * Refactoring.
show more ...
|
#
26798264 |
| 09-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Rename aprint_debug() to dmdebug()
Not sure what aprint is, but dmdebug() is better considering this macro does if (dm_debug_level) kprintf(...);
|
#
4e359672 |
| 08-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix/refactor TAILQ_HEAD structure
Some minor fixes.
Initialize TAILQs in init() since they are removed and freed in uninit(). Not doing it in init() works only when init() is guara
sys/dev/disk/dm: Fix/refactor TAILQ_HEAD structure
Some minor fixes.
Initialize TAILQs in init() since they are removed and freed in uninit(). Not doing it in init() works only when init() is guaranteed to be called once.
show more ...
|
#
4f398b7b |
| 26-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Add udev_t field to dm_pdev_t
|
#
76d3bec1 |
| 26-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Add "major:minor" name to dm_pdev_t
|
#
b2ecd1aa |
| 24-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Change pdev SLIST to TAILQ
TAILQ is more flexible and better for what it's trying to do.
|
#
d471f1f9 |
| 24-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Don't let targets implement deps [2/2]
This commit gets rid of target's deps handler by introducing a new structure struct dm_mapping which embeds struct dm_pdev* and a tailq struct
sys/dev/disk/dm: Don't let targets implement deps [2/2]
This commit gets rid of target's deps handler by introducing a new structure struct dm_mapping which embeds struct dm_pdev* and a tailq structure for the next entry whose tailq head is embedded within struct dm_table_entry.
=====(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*)
Each target's init() now calls dm_table_add_deps(table, pdev) to add a new dm_mapping (that points to pdev) to table. This allows dm table structure to refer to underlying devices that the target is dependent on (by following this tailq) without using target specific deps handler.
dmsetup(8)'s deps subcommand is now handled by a newly added dm core function dm_table_deps() that is common among targets. This greatly reduces complexity and size of targets plus make code less error prone. Targets only need to call dm_table_add _deps() as mentioned above whenever they allocate underlying device(s) via dm_pdev_insert().
show more ...
|
#
9842ce30 |
| 20-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Remove aprint_normal()
This is a macro for kprintf, but dm and targets basically never use this except for a few. There isn't really any point to keep macro version of kprintf, so g
sys/dev/disk/dm: Remove aprint_normal()
This is a macro for kprintf, but dm and targets basically never use this except for a few. There isn't really any point to keep macro version of kprintf, so get rid of it.
show more ...
|
#
ac816675 |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix race on pdev create
List lookup and insert need to be atomic otherwise more than one dm_pdev_t* for the same underlying device could exist. Running the following two concurrentl
sys/dev/disk/dm: Fix race on pdev create
List lookup and insert need to be atomic otherwise more than one dm_pdev_t* for the same underlying device could exist. Running the following two concurrently reproduces the race where ${DEV} is the common underlying device.
=====(A) #!/usr/local/bin/bash kldload dm_target_linear while [ 1 ]; do dmsetup create linear1 --table "0 1000 linear ${DEV} 0" dmsetup remove /dev/mapper/linear1 done
=====(B) #!/usr/local/bin/bash kldload dm_target_delay while [ 1 ]; do dmsetup create delay1 --table "0 1000 delay ${DEV} 0 10" dmsetup remove /dev/mapper/delay1 done
show more ...
|
#
bdf2de7b |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanups
Remove a space from dm_table_entry_t * table_en, struct buf * bp, dm_dev_t * dmv, etc
No binary change.
|
#
64c24ea9 |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Simplify list eviction
Change while (!EMPTY(e)) { e = FIRST(); REMOVE(e); do_something(e); } to less redundant while ((e = FIRST())) { REMOVE(e); do_something(e); }
|
#
b9b46b3a |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Use dm_pdev_rem()
|
#
10fc9e71 |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix cppcheck warning
|
#
cec31096 |
| 12-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanup DIOCGPART related code
|
#
903c3618 |
| 01-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Conform to style(9)
|
#
637b454a |
| 30-Sep-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Make global dm locks static
These are all local to each file.
If ever needed by others, it should provide appropriate interface instead of allowing access to raw lock variables.
|
Revision tags: v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1 |
|
#
3596743e |
| 14-Jan-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
devfs: add passing of file pointer through to dev_dclose
|
#
8c530b23 |
| 18-Dec-2013 |
Johannes Hofmann <johannes.hofmann@gmx.de> |
add file pointer to dev_d*() functions
|
Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|