History log of /dflybsd-src/sys/dev/disk/ccd/ccd.c (Results 1 – 25 of 66)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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, 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


Revision tags: 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
# 2267fd78 05-Mar-2013 Johannes Hofmann <johannes.hofmann@gmx.de>

Merge branch 'master' of git://git.dragonflybsd.org/dragonfly into wlan_serialize


# 4323116d 24-Feb-2013 Sascha Wildner <saw@online.de>

ccd(4): Fix operator precedence.


# 7078f92b 12-Jan-2013 Johannes Hofmann <johannes.hofmann@gmx.de>

merge


# 9859c634 02-Jan-2013 Sascha Wildner <saw@online.de>

Remove some emacs variable settings.


# bf0d1182 02-Jan-2013 Venkatesh Srinivas <vsrinivas@ops101.org>

kernel -- ccd: Concatenated disk MPLOCK rework.

* Remove freelist of ccdbuf structures; kmalloc is good enough for them,
removes a global list.

* Rework ccdlock/ccdunlock to use a real lockmgr lo

kernel -- ccd: Concatenated disk MPLOCK rework.

* Remove freelist of ccdbuf structures; kmalloc is good enough for them,
removes a global list.

* Rework ccdlock/ccdunlock to use a real lockmgr lock rather than a
hand-rolled "lock" in the flags field.

* Mark ccd disk D_MPSAFE; calls disk strategy routines without the MPLOCK.

* Remove mplock from ccdiodone biodone callback; use ccdlock() on the
softcontroller instead.

* Remove unneeded critical section around ccdstart and in ccdioctl.

* Remove mplock2.h.

* Remove cb_freenext linkage from ccd buffers.

show more ...


Revision tags: 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.


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, v2.5.0, v2.4.0
# 87baaf0c 26-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

Kernel - pass sysmsg through to ioctl.

* Pass the sysmsg through to the ioctl code so ioctls can set the return
value. A single linux ioctl from the SCSI sg code uses this feature.


# bfc09ba0 25-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

AMD64 - Fix format conversions and other warnings.


Revision tags: v2.3.2
# 53116cdc 06-Jul-2009 Jordan Gordeev <jgordeev@dir.bg>

Merge commit '1276d1e1a1b128f7093a3021d3f6bc27afa80d23' into amd64


# 50ac0fb0 17-Jun-2009 Matthew Dillon <dillon@apollo.backplane.com>

CCD - Allow ccd to be kldunload'd.


Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 408357d8 06-Nov-2007 Matthew Dillon <dillon@dragonflybsd.org>

Convert the global 'bioops' into per-mount bio_ops. For now we also have
to have a per buffer b_ops as well since the controlling filesystem cannot
be located from information in struct buf (b_vp co

Convert the global 'bioops' into per-mount bio_ops. For now we also have
to have a per buffer b_ops as well since the controlling filesystem cannot
be located from information in struct buf (b_vp could be the backing store
so that can't be used). This change allows HAMMER to use bio_ops.

Change the ordering of the bio_ops.io_deallocate call so it occurs before
the buffer's B_LOCKED is checked. This allows the deallocate call to set
B_LOCKED to retain the buffer in situations where the target filesystem
is unable to immediately disassociate the buffer. Also keep VMIO intact
for B_LOCKED buffers (in addition to B_DELWRI buffers).

HAMMER will use this feature to keep buffers passively associated with
other filesystem structures and thus be able to avoid constantly brelse()ing
and getblk()ing them.

show more ...


# d785777f 11-Jul-2007 Matthew Dillon <dillon@dragonflybsd.org>

Use I/O size limits in underlying devices to govern I/O chunk
sizes. This fixes issues with NATA which does not break up large
requests like the old ATA driver did.

Reported-by: YONETANI Tomokazu <

Use I/O size limits in underlying devices to govern I/O chunk
sizes. This fixes issues with NATA which does not break up large
requests like the old ATA driver did.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>

show more ...


# af255b66 19-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

The fstype was not being properly tested for a CCD uuid.

Correct a bug when generating an interleave table for very large disk
arrays (> 2TB). A size variable was 32 bits instead of 64 bits.


# 18cb7add 19-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

Make some adjustments to clean up structural field names. Add type and
storage uuid's to the partinfo structure for the DIOCGPART ioctl and
load the fields up for GPT slices and disklabel64 partitio

Make some adjustments to clean up structural field names. Add type and
storage uuid's to the partinfo structure for the DIOCGPART ioctl and
load the fields up for GPT slices and disklabel64 partitions.

show more ...


# ba0cc1ab 17-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

Disklabel separation work - Generally shift all disklabel-specific
procedures for the kernel proper to a new source file, subr_disklabel32.c.
Move the DTYPE_ and FS_ defines out of sys/disklabel.h an

Disklabel separation work - Generally shift all disklabel-specific
procedures for the kernel proper to a new source file, subr_disklabel32.c.
Move the DTYPE_ and FS_ defines out of sys/disklabel.h and into a new
header files sys/dtype.h

Make adjustments to the uuids file, renaming "DragonFly Label" to
"DragonFly Label32" and creating a "DragonFly Label64" uuid.

show more ...


# 1c3c151b 17-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

Implement (non-bootable) GPT support. If a PMBR partition type is detected
the rest of the MBR is ignored and the GPT partition table will be parsed
into slices. GPT partition 0 will be s0, GPT par

Implement (non-bootable) GPT support. If a PMBR partition type is detected
the rest of the MBR is ignored and the GPT partition table will be parsed
into slices. GPT partition 0 will be s0, GPT partition 1 will be s1, etc.
Bootable support is forthcoming.

Remove support for COMPATIBILITY_SLICE when a MBR/GPT table is present. That
is, the COMPATIBILITY_SLICE (s0) will still point to the dangerously
dedicated disklabel or be synthesized for a CD, but it will no longer point
to the 'first BSD slice' in a real MBR or GPT table. For GPT tables
slice 0 (s0) will point at GPT partition #0, slice 1 (s1) at
GPT partition #1, etc.

Redo the reserved sector handling code. There is now a single reserved
sector count instead of separate fields for the slice layer and disklabel
layer.

Redo the disklabel snooping code. Note that you cannot run an old
/sbin/disklabel in raw (-r) mode with a new OS because the old disklabel
will not turn on snooping. For now the on-disk format remains the same,
but more changes may be forthcoming (after discussion). I would like to
get rid of the snooping entirely.

Add kuuid_is_nil() and use it to ignore unset GPT paritions.

show more ...


# e49b5e94 22-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Remove unused define.


# 7dc62e37 17-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Remove the roll-your-own disklabel from CCD. Use the kernel disk manager
for disklabel support instead.

Make CCD a real disk device rather then a fake one. NOTE: All /dev/ccd*
devices have changed

Remove the roll-your-own disklabel from CCD. Use the kernel disk manager
for disklabel support instead.

Make CCD a real disk device rather then a fake one. NOTE: All /dev/ccd*
devices have changed and must be remade

Introduce DSO_COMPATMBR. This forces an MBR sector to be reserved in front
of a disklabel even when the target disk does not have slices. It is used
by the CCD and VN devices to keep the disklabel aligned the same way it has
been historically.

Implement 64 bit block addressing for CCD.

Implement a new filesystem type "ccd", and require that the devices backing
the CCD use that filesystem type for safety.

Fix a bug in DIOCGPART where the partinfo->media_blocks was not being
set properly for partitions.

show more ...


# 154b688d 16-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Continue untangling the disklabel. Add sector index reservation fields
to the diskslice and partinfo structures. These fields will replace the
hardcoded LABELSECTOR constant and also help manage re

Continue untangling the disklabel. Add sector index reservation fields
to the diskslice and partinfo structures. These fields will replace the
hardcoded LABELSECTOR constant and also help manage reserved areas in
the disklabel.

show more ...


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

* The diskslice abstraction now stores offsets/sizes as 64 bit quantities.
(NOTE: DOS partition tables and standard disklabels can't handle 64 bit
sector numbers yet). For future pluggable diskl

* The diskslice abstraction now stores offsets/sizes as 64 bit quantities.
(NOTE: DOS partition tables and standard disklabels can't handle 64 bit
sector numbers yet). For future pluggable disklabel/partitioning schemes.

* The kernel panic / kernel core API is now 64 bits.

* The VN device now uses 64 bit sector numbers and can handle block devices
up to what is supported by the filesystem (typically 8TB). This change
was made primarily so we can test future disklabel / partition table
support.

* Pass 64 bit LBAs to various block devices and to the SCSI layer.

* Check for and assert 32 bit overflow conditions in various places, instead
of wrapping.

show more ...


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

Continue untangling the disklabel. Reorganize struct partinfo and the
DIOCGPART ioctl to extract the required information directly, and fix
the DIOCGPART ioctl direction so userland can use it.

Thi

Continue untangling the disklabel. Reorganize struct partinfo and the
DIOCGPART ioctl to extract the required information directly, and fix
the DIOCGPART ioctl direction so userland can use it.

This removes numerous disklabel references, particularly from the filesystem
code which was doing silly indirections just to figure out the sector size.

NOTE: The absolute byte offset of the slice or partition (relative to the
base of the raw disk) is also made available, but is not currently used
by the kernel.

show more ...


# 3c37c940 06-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Use SYSREF to reference count struct vnode. v_usecount is now
v_sysref(.refcnt). v_holdcnt is now v_auxrefs. SYSREF's termination state
(using a negative reference count from -0x40000000+) now pla

Use SYSREF to reference count struct vnode. v_usecount is now
v_sysref(.refcnt). v_holdcnt is now v_auxrefs. SYSREF's termination state
(using a negative reference count from -0x40000000+) now places the vnode in
a VCACHED or VFREE state and deactivates it. The vnode is now assigned a
64 bit unique id via SYSREF.

vhold() (which manipulates v_auxrefs) no longer reactivates a vnode and
is explicitly used only to track references from auxillary structures
and references to prevent premature destruction of the vnode. vdrop()
will now only move a vnode from VCACHED to VFREE on the 1->0 transition
of v_auxrefs if the vnode is in a termination state.

vref() will now panic if used on a vnode in a termination state. vget()
must now be used to explicitly reactivate a vnode. These requirements
existed before but are now explicitly asserted.

vlrureclaim() and allocvnode() should now interact a bit better. In
particular, vlrureclaim() will do a better job of finding vnodes to flush
and transition from VCACHED to VFREE, and allocvnode() will do a better
job finding vnodes to reuse without getting blocked by a flush.

allocvnode now uses a real VX lock to sequence vnodes into VRECLAIMED. All
vnode special state processing now uses a VX lock.

Vnodes are now able to be slowly returned to the memory pool when
kern.maxvnodes is reduced at run time.

Various initialization elements have been moved to CTOR/DTOR and are
no longer in the critical path, improving performance. However, since
SYSREF uses atomic_cmpset_int() (aka cmpxchgl), which reduces performance
somewhat, overall performance tends to be about the same.

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).


123