|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, 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 |
|
| #
fcf6efef |
| 02-Mar-2019 |
Sascha Wildner <saw@online.de> |
kernel: Remove numerous #include <sys/thread2.h>.
Most of them were added when we converted spl*() calls to crit_enter()/crit_exit(), almost 14 years ago. We can now remove a good chunk of them agai
kernel: Remove numerous #include <sys/thread2.h>.
Most of them were added when we converted spl*() calls to crit_enter()/crit_exit(), almost 14 years ago. We can now remove a good chunk of them again for where crit_*() are no longer used.
I had to adjust some files that were relying on thread2.h or headers that it includes coming in via other headers that it was removed from.
show more ...
|
|
Revision tags: 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, 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 |
|
| #
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.
|
| #
3472ce2b |
| 10-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix device counter handling
dm_dev_list and its element counter dm_dev_counter should be protected by the same lock dm_dev_mutex. Having these updated separately makes code logic mo
sys/dev/disk/dm: Fix device counter handling
dm_dev_list and its element counter dm_dev_counter should be protected by the same lock dm_dev_mutex. Having these updated separately makes code logic more complex than it should.
If dm_dev_counter is protected by dm_dev_mutex, then no need to care if dm_dev_counter++/-- are atomic or not.
show more ...
|
| #
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 ...
|
| #
12f3b163 |
| 10-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix/refactor alloc/free functions [2/6]
Rename dm_dev_rem() to dm_dev_lookup_evict(). There is dm_dev_remove(), and having remove()/rem() is confusing.
Refactor dm_dev_lookup()/dm_
sys/dev/disk/dm: Fix/refactor alloc/free functions [2/6]
Rename dm_dev_rem() to dm_dev_lookup_evict(). There is dm_dev_remove(), and having remove()/rem() is confusing.
Refactor dm_dev_lookup()/dm_dev_lookup_evict() using a common lookup function.
Disable dm_dev_lookup_evict() by #if0. This function is only used for renaming, but renaming is not implemented.
show more ...
|
| #
733c17c3 |
| 10-Nov-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Fix/refactor alloc/free functions [1/6]
There are way too many functions with similar names that do something related to removing and/or freeing dm device.
dm_dev_rem_dev() doesn't
sys/dev/disk/dm: Fix/refactor alloc/free functions [1/6]
There are way too many functions with similar names that do something related to removing and/or freeing dm device.
dm_dev_rem_dev() doesn't need to be a function so get rid of it. dm_dev_destroy() can be a static function.
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 ...
|
| #
03821153 |
| 13-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Ignore zero-filled uuid on inserting a dm device
PR2843 http://bugs.dragonflybsd.org/issues/2843
dm targets that use dmsetup(8) without dedicated high-level commands are almost unu
sys/dev/disk/dm: Ignore zero-filled uuid on inserting a dm device
PR2843 http://bugs.dragonflybsd.org/issues/2843
dm targets that use dmsetup(8) without dedicated high-level commands are almost unusable without this fix.
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.
|
| #
7350b8b6 |
| 10-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Remove unused prototype and wrong comments
|
| #
4c28af7b |
| 10-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Separate dm_dev_rem_dev() from dm_dev_rem()
dm_dev_rem() should be separated into two functions where one takes *dmv and the other takes name,uuid,minor for args.
If a caller has a
sys/dev/disk/dm: Separate dm_dev_rem_dev() from dm_dev_rem()
dm_dev_rem() should be separated into two functions where one takes *dmv and the other takes name,uuid,minor for args.
If a caller has a pointer to dm device, then it basically never use the rest. If not the caller may use all the rest.
dm_dev_rem() currently taking all four args makes it more complicated than it should. Also this is closer to the original NetBSD implementation.
show more ...
|
| #
52157f6b |
| 10-Oct-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/dev/disk/dm: Cleanups
|
| #
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, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3, v3.4.2, v3.4.1, v3.4.0, 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 |
|
| #
07f9383e |
| 16-Feb-2012 |
Venkatesh Srinivas <me@endeavour.zapto.org> |
Merge branch 'master' into hammer2
|
| #
2a53016d |
| 16-Feb-2012 |
Sascha Wildner <saw@online.de> |
kernel: Include <sys/ioccom.h> where ioctls are defined.
Not where they are used.
See http://bugs.dragonflybsd.org/issues/1334
|
|
Revision tags: 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.
|
|
Revision tags: v2.12.0, v2.13.0 |
|
| #
ba2ce341 |
| 15-Jul-2011 |
Alex Hornung <ahornung@gmail.com> |
dm - sync_devs() on creation, add new dict entries
* call sync_devs() on device creation to ensure all devices are visible in userland immediately after return from kernel.
* add some new, so
dm - sync_devs() on creation, add new dict entries
* call sync_devs() on device creation to ensure all devices are visible in userland immediately after return from kernel.
* add some new, so far unusued, dict entries
* sneak in my copyright as I've rewritten large parts of dm. That way at least everyone knows who to blame for broken stuff :)
show more ...
|
| #
ba65987c |
| 14-Jul-2011 |
Alex Hornung <ahornung@gmail.com> |
dm - get rid of excessive locking and redundancy
* Just use dev->si_drv1 for the strategy, disk ioctl and dump as the underlying device and 'dmv' is guaranteed not to go away. Keep the locked
dm - get rid of excessive locking and redundancy
* Just use dev->si_drv1 for the strategy, disk ioctl and dump as the underlying device and 'dmv' is guaranteed not to go away. Keep the locked approach (dm_dev_lookup) for open, close, and mapper ioctls to ensure that we never rip out any node that's still in use.
* This eliminates exclusive locking in the IO path, which should improve performance.
show more ...
|
| #
8bb01ea7 |
| 03-Jul-2011 |
Alex Hornung <ahornung@gmail.com> |
dm - change remove_all traversal direction
* Make remove_all iterate backwards, so that devices that depend on other dm volumes created earlier are removed first; otherwise remove_all stops a
dm - change remove_all traversal direction
* Make remove_all iterate backwards, so that devices that depend on other dm volumes created earlier are removed first; otherwise remove_all stops at the first dm volume on which another one depends.
show more ...
|
|
Revision tags: v2.10.1, v2.11.0, v2.10.0 |
|
| #
2443e96e |
| 07-Feb-2011 |
Justin C. Sherrill <justin@leaf.dragonflybsd.org> |
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Conflicts: UPDATING
|
| #
a2111e2a |
| 15-Dec-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
|
| #
9fada28a |
| 13-Dec-2010 |
Alex Hornung <ahornung@gmail.com> |
dm - add remove_all, refactor
* Refactor the dm dev creation and removal methods as to avoid duplication and, as a bonus, do things properly.
* Rename foo_destroy to foo_uninit, because that's wh
dm - add remove_all, refactor
* Refactor the dm dev creation and removal methods as to avoid duplication and, as a bonus, do things properly.
* Rename foo_destroy to foo_uninit, because that's what they really are, uninit functions.
* Add an experimental 'remove_all' method
* Move atoi64 into device-mapper so that the striped target works without loading the linear target.
show more ...
|