<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ips/ips_disk.c, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-11-27T14:52:40Z</updated>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Check pointer for NULL before dereferencing it, not after.</title>
<updated>2009-10-21T15:04:50Z</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2009-10-21T15:04:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=022ad82222d2b33be4e9a6f38bff19f24e86ecc2'/>
<id>urn:sha1:022ad82222d2b33be4e9a6f38bff19f24e86ecc2</id>
<content type='text'>
PR:		138384
Submitted by:	Patroklos Argyroudis &lt;argp@census-labs.com&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Separate the hardware definitions into ipsreg.h so they can be used by</title>
<updated>2005-11-29T09:39:41Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-11-29T09:39:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f94dfeb4810245d485d85e8a494a3d339d7f1d95'/>
<id>urn:sha1:f94dfeb4810245d485d85e8a494a3d339d7f1d95</id>
<content type='text'>
future userland tools.
</content>
</entry>
<entry>
<title>Overhaul error handling in the IPS driver.  Don't use a magic value for</title>
<updated>2005-09-25T17:12:41Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-09-25T17:12:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2eea70515c189e5c7c5457efd3e875ed395d736b'/>
<id>urn:sha1:2eea70515c189e5c7c5457efd3e875ed395d736b</id>
<content type='text'>
driver-induced errors, instead be better about propagating error status
upwards.  Add more error definitions, courtesy of the linux driver.  Fix
a command leak in the ioctl handler.  Re-arrange some of the command handlers
to localize error handling.

MFC After: 3 days
</content>
</entry>
<entry>
<title>Add crashdump support to the ips driver.  It only works for the more modern</title>
<updated>2005-01-30T17:45:45Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-01-30T17:45:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7765040ebc0bf6d7c9a27cdd4da04636f4cbb2eb'/>
<id>urn:sha1:7765040ebc0bf6d7c9a27cdd4da04636f4cbb2eb</id>
<content type='text'>
ServeRAID 4 - 7 models right now.  Support for older cards is possible, but
I don't have any hardware to experiment with.

Thanks to Jack Hammer at Adaptec for providing debugging hints.

Sponsored by: ImproWare AG, Switzerland
</content>
</entry>
<entry>
<title>Lock the IPS driver and bring it out from under Giant.  Also do some</title>
<updated>2005-01-28T05:02:13Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-01-28T05:02:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03a908f2ce4394b8fd8ec8e4734938c002989d0f'/>
<id>urn:sha1:03a908f2ce4394b8fd8ec8e4734938c002989d0f</id>
<content type='text'>
significant clean up and optimizations:
- don't call bioq_disksort() on every command, the hardware will do that for
  us.
- remove all of the complicated bio deferral code.  bio's that can't be
  serviced immediately can just wait on the bioq.
- Only reserve one command object for doing control commands to the card.
  This simplifies a lot of code and significantly reduces the size of the
  command struct.
- Allocate commands out of a slab instead of embedding them into the softc.
- Call the command action method directly instead of having ips_get_free_cmd()
  call it indirectly.

MFC After: 1 week
</content>
</entry>
<entry>
<title>Switch from using mutexes to using semaphores to protect against early</title>
<updated>2004-02-28T19:14:41Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2004-02-28T19:14:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b234a120c867ff3291e66666644af78f7a894095'/>
<id>urn:sha1:b234a120c867ff3291e66666644af78f7a894095</id>
<content type='text'>
completion of synchronous commands.  Also switch to a per-array bioq as it
appears to improve performance.

Submitted by:	mbr, imp.ch (bioq change)
</content>
</entry>
<entry>
<title>Change the disk(9) API in order to make device removal more robust.</title>
<updated>2004-02-18T21:36:53Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-02-18T21:36:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b7ed341e106c1583e873116529015d2ae042fd0'/>
<id>urn:sha1:0b7ed341e106c1583e873116529015d2ae042fd0</id>
<content type='text'>
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./-&gt;/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.
</content>
</entry>
<entry>
<title>Add an off_t cast to prevent overflow on media size.  This should</title>
<updated>2003-09-22T04:59:07Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-09-22T04:59:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0588717032c6c5a9138f13b593aa7fb2934f3dc2'/>
<id>urn:sha1:0588717032c6c5a9138f13b593aa7fb2934f3dc2</id>
<content type='text'>
fix issues with geometry not matching drive size.

Submitted by:	Clive Lin &lt;clive@tongi.org&gt;
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-24T17:55:58Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-24T17:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1'/>
<id>urn:sha1:aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1</id>
<content type='text'>
Also some minor style cleanups.
</content>
</entry>
</feed>
