#
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
#
e93f5e4d |
| 04-Sep-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Simplify g_disk_ident_adjust() function and allow any printable character in serial number.
Discussed with: trasz Obtained from: Wheel Sp. z o.o. (http://www.wheel.pl)
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
853a10a5 |
| 10-Apr-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Revert r190676,190677
The geom and CAM changes for root_hold are the wrong solution for USB design quirks.
Requested by: scottl
|
#
31da42ba |
| 03-Apr-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add interleaving root hold tokens from the CAM probe to disk_create and geom provider tasting. This is needed for disk attachments that happen after threads are running in the boot process.
Tested b
Add interleaving root hold tokens from the CAM probe to disk_create and geom provider tasting. This is needed for disk attachments that happen after threads are running in the boot process.
Tested by: rnoland
show more ...
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
f5dfdb51 |
| 31-Oct-2008 |
Konstantin Belousov <kib@FreeBSD.org> |
Revert r184136. Instead, push the check for crashdumpmap overflow into the MD i386 and amd64 dump code.
Requested by: jhb Retested by: pho MFC after: 3 days (+ 176304 + 184136)
|
#
7a882637 |
| 21-Oct-2008 |
Konstantin Belousov <kib@FreeBSD.org> |
Do not overflow crashdumpmap.
Reported and tested by: pho Reviewed by: jhb MFC after: 1 week
|
#
2616144e |
| 09-Aug-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add sbuf_new_auto as a shortcut for the very common case of creating a completely dynamic sbuf.
Obtained from: Varnish MFC after: 2 weeks
|
Revision tags: release/7.0.0_cvs, release/7.0.0 |
|
#
7bbd40c5 |
| 15-Feb-2008 |
Scott Long <scottl@FreeBSD.org> |
Teach the dump and minidump code to respect the maxioszie attribute of the disk; the hard-coded assumption of 64K doesn't work in all cases.
|
Revision tags: release/6.3.0_cvs, release/6.3.0 |
|
#
48878003 |
| 05-May-2007 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to use ':' in d_ident, which is quite handy character.
|
#
5e16a486 |
| 05-May-2007 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Because there are many strange hardware out there, allow to use only [a-zA-Z0-9-_@#%.] characters in d_ident field.
|
#
d0c11f9e |
| 05-May-2007 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Extend disk structure to allow to store disk's serial number, which can be retrieved via GEOM::ident attribute. - Bump disk(9) ABI version.
OK'ed by: phk
|
#
55fe33a3 |
| 21-Feb-2007 |
Nick Hibma <n_hibma@FreeBSD.org> |
Reduce the noise when plugging in (USB) mass storage devices, like a 4 port flash card reader. Also remove an 'Opened da0 -> <random number>' which is not needed on a daily basis (available through b
Reduce the noise when plugging in (USB) mass storage devices, like a 4 port flash card reader. Also remove an 'Opened da0 -> <random number>' which is not needed on a daily basis (available through bootverbose).
Reviewed by: phk, ken MFC after: 1 week
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
1d2aee20 |
| 31-Oct-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the disk can handle BIO_FLUSH requests.
Sponsored by: home.pl
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
d99c1559 |
| 10-Apr-2006 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Add g_wither_provider() to abstract the details of destroying a particular provider. Use this function where g_orphan_provider() is being called so that the flags are updated correctly and g_orphan_p
Add g_wither_provider() to abstract the details of destroying a particular provider. Use this function where g_orphan_provider() is being called so that the flags are updated correctly and g_orphan_provider() is called only when allowed.
show more ...
|
#
a7e69e8b |
| 18-Nov-2005 |
John Polstra <jdp@FreeBSD.org> |
Fix a bug that caused some /dev entries to continue to exist after the underlying drive had been hot-unplugged from the system. Here is a specific example. Filesystem code had opened /dev/da1s1e. S
Fix a bug that caused some /dev entries to continue to exist after the underlying drive had been hot-unplugged from the system. Here is a specific example. Filesystem code had opened /dev/da1s1e. Subsequently, the drive was hot-unplugged. This (correctly) caused all of the associated /dev/da1* entries to be deleted. When the filesystem later realized that the drive was gone it closed the device, reducing the write-access counts to 0 on the geom providers for da1s1e, da1s1, and da1. This caused geom to re-taste the providers, resulting in the devices being created again. When the drive was hot-plugged back in, it resulted in duplicate /dev entries for da1s1e, da1s1, and da1.
This fix adds a new disk_gone() function which is called by CAM when a drive goes away. It orphans all of the providers associated with the drive, setting an error condition of ENXIO in each one. In addition, we prevent a re-taste on last close for writing if an error condition has been set in the provider.
Sponsored by: Isilon Systems Reviewed by: phk MFC after: 1 week
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
2e93e909 |
| 30-Sep-2005 |
Tor Egge <tegge@FreeBSD.org> |
Move some devstat collection to below where large IO operations are chopped up. This make iostat report operations passed down to the device driver instead of operations passed down to GEOM disk. T
Move some devstat collection to below where large IO operations are chopped up. This make iostat report operations passed down to the device driver instead of operations passed down to GEOM disk. The transfer size limit imposed by the device driver is no longer hidden, improving the correlation between iostat output and device driver workload.
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
b3fd9b46 |
| 18-Mar-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
After rejecting the bio request early, return instead of panicing.
Found by: Coverity (ID#450)
|
#
07e95ed6 |
| 10-Feb-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make various random things static
|
#
3ad9f7c2 |
| 29-Jan-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
When dumping to a unpartitioned disk, make sure to chop the length of the dump area accordingly.
Run into by: scottl
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
032bc81d |
| 14-Jan-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
CAM will sometimes remove a disk again even before it finished being initialized. We already cancel the pending events but we need to not dereference the geom pointer which never got set different f
CAM will sometimes remove a disk again even before it finished being initialized. We already cancel the pending events but we need to not dereference the geom pointer which never got set different from NULL.
show more ...
|
#
2221dbeb |
| 12-Dec-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Pass the file->flags down to geom ioctl handlers.
Reject certain ioctls if write permission is not indicated.
Bump geom API version.
Reported by: Ruben de Groot <mail25@bzerk.org>
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
5721c9c7 |
| 08-Aug-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Tag all geom classes in the tree with a version number.
|
#
650ee351 |
| 08-Aug-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use default method initialization on geoms.
|
#
11e9a679 |
| 29-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix regression in last commit.
|
#
52c583fe |
| 27-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make sure to kill the devstat entry for disappearing disks.
PR: 68074 Submitted by: Hendrik Scholz <hscholz@raisdorf.net>
|