History log of /dragonfly/sys/dev/disk/md/md.c (Results 1 – 25 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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, 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
# 481d12aa 09-Jan-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Incidental MPLOCK removal (non-performance)

* Remove the MPLOCK in a ton of places that don't need it or can be
trivially tokenized or locked.

* Mostly non-performance adjustments, thoug

kernel - Incidental MPLOCK removal (non-performance)

* Remove the MPLOCK in a ton of places that don't need it or can be
trivially tokenized or locked.

* Mostly non-performance adjustments, though the X server does use
scmouse or sysmouse.

show more ...


Revision tags: 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, 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.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0
# a43d9d72 05-Jan-2013 Sascha Wildner <saw@online.de>

kernel/disk: Remove some unused variables and add __debugvar.


Revision tags: v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3
# ed20d0e3 21-Apr-2012 Sascha Wildner <saw@online.de>

kernel: Remove newlines from the panic messages that have one.

panic() itself will add a newline.


# d83666e0 22-Mar-2012 François Tigeot <ftigeot@wolfpond.org>

Kernel - Completely remove DFLTPHYS

* There is no need to have two different macros define the maximum
allowed IO size for low-level operations; replace DFLTPHYS by
MAXPHYS in the entire kernel.

Kernel - Completely remove DFLTPHYS

* There is no need to have two different macros define the maximum
allowed IO size for low-level operations; replace DFLTPHYS by
MAXPHYS in the entire kernel.

* Old drivers typically used DFLTPHYS without a second thought,
assuming it would always be the same value; they may have hard
limitations and break if bigger I/O sizes are suddenly used.
Be sure to explicitely limit their maximum allowed I/O size to
64KB and keep them working.

show more ...


Revision tags: v3.0.2, v3.0.1
# 4c69c8bc 23-Jan-2012 Sascha Wildner <saw@online.de>

kernel: Use bioq_takefirst() in a few more places.


Revision tags: v3.1.0, v3.0.0
# 4090d6ff 03-Jan-2012 Sascha Wildner <saw@online.de>

kernel: Use NULL for pointers.


# 884717e1 06-Dec-2011 Sascha Wildner <saw@online.de>

kernel: Replace all usage of MALLOC()/FREE() with kmalloc()/kfree().


# 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, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1
# d34ac8d0 20-Sep-2009 Alex Hornung <ahornung@gmail.com>

md - when setdiskinfo, also set no of blocks

* Before calling disk_setdiskinfo, make sure that the number of blocks
is also set or no probing will be triggered at that point.

* Also disable setdi

md - when setdiskinfo, also set no of blocks

* Before calling disk_setdiskinfo, make sure that the number of blocks
is also set or no probing will be triggered at that point.

* Also disable setdiskinfo on open, as it shouldn't be needed.

* Fix nomenclature md0c -> md0s0.

* This also fixes root mount from md disk image.

Reported By: Alexander Polakov
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1522

show more ...


Revision tags: v2.5.0, v2.4.0
# cd29885a 01-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

DEVFS - Bring in Alex's GSOC kernel adjustments.

This is a rollup commit bringing in Alex Hornung's GSOC adjustments
to the main kernel codebase for DEVFS.

Submitted-by: Alex Hornung <ahornung@gmai

DEVFS - Bring in Alex's GSOC kernel adjustments.

This is a rollup commit bringing in Alex Hornung's GSOC adjustments
to the main kernel codebase for DEVFS.

Submitted-by: Alex Hornung <ahornung@gmail.com>

show more ...


Revision tags: v2.3.2
# 973c11b9 24-Jun-2009 Matthew Dillon <dillon@apollo.backplane.com>

AMD64 - Fix many compile-time warnings. int/ptr type mismatches, %llx, etc.


Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 8b6f36f5 07-Sep-2008 Sascha Wildner <swildner@dragonflybsd.org>

Remove unused variables.

Found-by: LLVM/Clang Static Analyzer


# e7b4468c 05-Jan-2008 Sascha Wildner <swildner@dragonflybsd.org>

For kmalloc(), MALLOC() and contigmalloc(), use M_ZERO instead of
explicitly bzero()ing.

Reviewed-by: sephe


# a260c869 05-Sep-2007 Matthew Dillon <dillon@dragonflybsd.org>

Set si_iosize_max to silence run-time warnings.

Reported-by: Vincent Stemen <vs1@crel.us>


# 31a163d2 31-Jul-2007 Matthew Dillon <dillon@dragonflybsd.org>

Fix a coding mistake when dequeueing memory disk BIOs.

Reported-by: "km b" <kmb810@gmail.com>


# a688b15c 15-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Continue untangling the disklabel. Have most disk device drivers fill out
and install a generic disk_info structure instead of filling out random
fields in the disklabel.

The generic disk_info stru

Continue untangling the disklabel. Have most disk device drivers fill out
and install a generic disk_info structure instead of filling out random
fields in the disklabel.

The generic disk_info structure uses a 64 bit integer to represent
the media size in bytes or total sector count.

show more ...


# e3869ec7 22-Dec-2006 Sascha Wildner <swildner@dragonflybsd.org>

Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).


# b13267a5 10-Sep-2006 Matthew Dillon <dillon@dragonflybsd.org>

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the ker

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the kernel.

This commit generally removes the overloading of 'dev_t' between userland and
the kernel.

Also fix a bug in libkvm where a kernel dev_t (now cdev_t) was not being
properly converted to a userland dev_t.

show more ...


# fef8985e 28-Jul-2006 Matthew Dillon <dillon@dragonflybsd.org>

MASSIVE reorganization of the device operations vector. Change cdevsw
to dev_ops. dev_ops is a syslink-compatible operations vector structure
similar to the vop_ops structure used by vnodes.

Remov

MASSIVE reorganization of the device operations vector. Change cdevsw
to dev_ops. dev_ops is a syslink-compatible operations vector structure
similar to the vop_ops structure used by vnodes.

Remove a huge number of instances where a thread pointer is still being
passed as an argument to various device ops and other related routines.
The device OPEN and IOCTL calls now take a ucred instead of a thread pointer,
and the CLOSE call no longer takes a thread pointer.

show more ...


# 4ad6607f 11-May-2006 Sascha Wildner <swildner@dragonflybsd.org>

* Remove the following obsolete options from the system:

AAC_COMPAT_LINUX
ACPI_MAX_THREADS
AVM_A1_PCI
CD9660_ROOT
CPU_UPGRADE_HW_CACHE
DEBUG_LINUX
DEBUG_TOKENS
DPT_ALLOW_MEMIO
IDE_

* Remove the following obsolete options from the system:

AAC_COMPAT_LINUX
ACPI_MAX_THREADS
AVM_A1_PCI
CD9660_ROOT
CPU_UPGRADE_HW_CACHE
DEBUG_LINUX
DEBUG_TOKENS
DPT_ALLOW_MEMIO
IDE_DELAY
INVARIANT_SUPPORT
KERNFS
MFS_ROOT
MFS_ROOT_SIZE
NTIMECOUNTER
OLTR_NO_BULLSEYE_MAC
OLTR_NO_HAWKEYE_MAC
OLTR_NO_TMS_MAC
UGEN_DEBUG
UHCI_DEBUG
UHID_DEBUG
UHUB_DEBUG
UKBD_DEBUG
ULPT_DEBUG
UMASS_DEBUG
UMS_DEBUG
VM_KMEM_SIZE
VM_KMEM_SIZE_MAX
VM_KMEM_SIZE_SCALE

* Add numerous options to LINT

* Fix typo in options: TWA_FLASH_FIREWARE -> TWA_FLASH_FIRMWARE

* Fix typo in dgb.c: opt_depricated.h -> opt_deprecated.h

* Fix some minor manpage issues

show more ...


# 10f3fee5 30-Apr-2006 Matthew Dillon <dillon@dragonflybsd.org>

Replace the the buffer cache's B_READ, B_WRITE, B_FORMAT, and B_FREEBUF
b_flags with a separate b_cmd field. Use b_cmd to test for I/O completion
as well (getting rid of B_DONE in the process). Thi

Replace the the buffer cache's B_READ, B_WRITE, B_FORMAT, and B_FREEBUF
b_flags with a separate b_cmd field. Use b_cmd to test for I/O completion
as well (getting rid of B_DONE in the process). This further simplifies
the setup required to issue a buffer cache I/O.

Remove a redundant header file, bus/isa/i386/isa_dma.h and merge any
discrepancies into bus/isa/isavar.h.

Give ISADMA_READ/WRITE/RAW their own independant flag definitions instead of
trying to overload them on top of B_READ, B_WRITE, and B_RAW. Add a
routine isa_dmabp() which takes a struct buf pointer and returns the ISA
dma flags associated with the operation.

Remove the 'clear_modify' argument to vfs_busy_pages(). Instead,
vfs_busy_pages() asserts that the buffer's b_cmd is valid and then uses
it to determine the action it must take.

show more ...


# 54078292 24-Mar-2006 Matthew Dillon <dillon@dragonflybsd.org>

Major BUF/BIO work commit. Make I/O BIO-centric and specify the disk or
file location with a 64 bit offset instead of a 32 bit block number.

* All I/O is now BIO-centric instead of BUF-centric.

*

Major BUF/BIO work commit. Make I/O BIO-centric and specify the disk or
file location with a 64 bit offset instead of a 32 bit block number.

* All I/O is now BIO-centric instead of BUF-centric.

* File/Disk addresses universally use a 64 bit bio_offset now. bio_blkno
no longer exists.

* Stackable BIO's hold disk offset translations. Translations are no longer
overloaded onto a single structure (BUF or BIO).

* bio_offset == NOOFFSET is now universally used to indicate that a
translation has not been made. The old (blkno == lblkno) junk has all
been removed.

* There is no longer a distinction between logical I/O and physical I/O.

* All driver BUFQs have been converted to BIOQs.

* BMAP, FREEBLKS, getblk, bread, breadn, bwrite, inmem, cluster_*,
and findblk all now take and/or return 64 bit byte offsets instead
of block numbers. Note that BMAP now returns a byte range for the before
and after variables.

show more ...


# 81b5c339 17-Feb-2006 Matthew Dillon <dillon@dragonflybsd.org>

Make the entire BUF/BIO system BIO-centric instead of BUF-centric. Vnode
and device strategy routines now take a BIO and must pass that BIO to
biodone(). All code which previously managed a BUF und

Make the entire BUF/BIO system BIO-centric instead of BUF-centric. Vnode
and device strategy routines now take a BIO and must pass that BIO to
biodone(). All code which previously managed a BUF undergoing I/O now
manages a BIO.

The new BIO-centric algorithms allow BIOs to be stacked, where each layer
represents a block translation, completion callback, or caller or device
private data. This information is no longer overloaded within the BUF.
Translation layer linkages remain intact as a 'cache' after I/O has completed.

The VOP and DEV strategy routines no longer make assumptions as to which
translated block number applies to them. The use the block number in the
BIO specifically passed to them.

Change the 'untranslated' constant to NOOFFSET (for bio_offset), and
(daddr_t)-1 (for bio_blkno). Rip out all code that previously set the
translated block number to the untranslated block number to indicate
that the translation had not been made.

Rip out all the cluster linkage fields for clustered VFS and clustered
paging operations. Clustering now occurs in a private BIO layer using
private fields within the BIO.

Reformulate the vn_strategy() and dev_dstrategy() abstraction(s). These
routines no longer assume that bp->b_vp == the vp of the VOP operation, and
the dev_t is no longer stored in the struct buf. Instead, only the vp passed
to vn_strategy() (and related *_strategy() routines for VFS ops), and
the dev_t passed to dev_dstrateg() (and related *_strategy() routines for
device ops) is used by the VFS or DEV code. This will allow an arbitrary
number of translation layers in the future.

Create an independant per-BIO tracking entity, struct bio_track, which
is used to determine when I/O is in-progress on the associated device
or vnode.

NOTE: Unlike FreeBSD's BIO work, our struct BUF is still used to hold
the fields describing the data buffer, resid, and error state.

Major-testing-by: Stefan Krueger

show more ...


# fbe276c7 06-Jun-2005 Simon Schubert <corecode@dragonflybsd.org>

convert spl* to critical sections


# 455fcd7e 13-May-2004 Matthew Dillon <dillon@dragonflybsd.org>

device switch 1/many: Remove d_autoq, add d_clone (where d_autoq was).

d_autoq was used to allow the device port dispatch to mix old-style synchronous
calls with new style messaging calls within a p

device switch 1/many: Remove d_autoq, add d_clone (where d_autoq was).

d_autoq was used to allow the device port dispatch to mix old-style synchronous
calls with new style messaging calls within a particular device. It was never
used for that purpose.

d_clone will be more fully implemented as work continues. We are going to
install d_port in the dev_t (struct specinfo) structure itself and d_clone
will be needed to allow devices to 'revector' the port on a minor-number
by minor-number basis, in particular allowing minor numbers to be directly
dispatched to distinct threads. This is something we will be needing later
on.

show more ...


12