<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/vinum, branch releng/4.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>open_drive: Recognize drives located on Mylex RAID controllers.</title>
<updated>2001-04-16T05:29:54+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2001-04-16T05:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d7fde8f51b41cf1563f31f4a1f3d7e4632b1cb08'/>
<id>d7fde8f51b41cf1563f31f4a1f3d7e4632b1cb08</id>
<content type='text'>
Reported by:	Matt Groener &lt;root@groenquist.com&gt;
Approved by:	jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	Matt Groener &lt;root@groenquist.com&gt;
Approved by:	jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>struct drive:</title>
<updated>2001-04-08T02:18:14+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2001-04-08T02:18:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ff439ad3c42cec035870567ec9939007b0fbd802'/>
<id>ff439ad3c42cec035870567ec9939007b0fbd802</id>
<content type='text'>
  Workaround size mismatch in struct drive on alpha platform only.
  This struct is shared between kernel and userland and contains a
  dev_t, which now refers to a completely different structure in
  userland and kernel: int the kernel, userland dev_t is called
  udev_t, and dev_t is struct specinfo *.  In practical terms, kernel
  dev_t is a pointer and userland dev_t is an int, which on the alpha
  are different sizes.

  As stated, this is a workaround.  The correct fix would be in two
  parts:

  1.  Don't define structures in the kernel with the same name and a
      different content as a userland structure.  This is a
      kernel-wide issue: kernel dev_t needs another name.

  2.  Don't export unnecessary kernel structures to userland.  This
      can be done within Vinum.  It is currently on the tuit queue.

Sleuth work by:      Normand Leclerc &lt;nospam@ele.etsmtl.ca&gt;
Tested by:	     Normand Leclerc &lt;nospam@ele.etsmtl.ca&gt;
Blanket approved by: jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Workaround size mismatch in struct drive on alpha platform only.
  This struct is shared between kernel and userland and contains a
  dev_t, which now refers to a completely different structure in
  userland and kernel: int the kernel, userland dev_t is called
  udev_t, and dev_t is struct specinfo *.  In practical terms, kernel
  dev_t is a pointer and userland dev_t is an int, which on the alpha
  are different sizes.

  As stated, this is a workaround.  The correct fix would be in two
  parts:

  1.  Don't define structures in the kernel with the same name and a
      different content as a userland structure.  This is a
      kernel-wide issue: kernel dev_t needs another name.

  2.  Don't export unnecessary kernel structures to userland.  This
      can be done within Vinum.  It is currently on the tuit queue.

Sleuth work by:      Normand Leclerc &lt;nospam@ele.etsmtl.ca&gt;
Tested by:	     Normand Leclerc &lt;nospam@ele.etsmtl.ca&gt;
Blanket approved by: jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>vinumlock: Catch a potential race condition where one process is</title>
<updated>2001-04-04T06:27:11+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2001-04-04T06:27:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=adad77c719ec3a85081a11584caf2ebce854b8e2'/>
<id>adad77c719ec3a85081a11584caf2ebce854b8e2</id>
<content type='text'>
	   waiting for a lock, and between the time it is woken and
	   it retries the lock, another process gets it and places it
	   in the first entry in the table.

	   This problem has not been observed, but it's possible, and
	   it's easy enough to fix.

Submitted by:	tegge

vinumunlock: Catch a real bug capable of hanging a system.  When
             releasing a lock, vinumunlock() called wakeup_one.  This
             caused wakeups to sometimes get lost.  After due
             consideration, we think that this is due to the fact that
             you can't guarantee that some other process is also
             waiting on the same address.  This makes wakeup_one a
             very dangerous function to use.

These changes have not yet been committed to -CURRENT.  In view of the
seriousness of the second one and the imminent 4.3-RELEASE, it seems
excusable to commit to -STABLE first.

36 hour test by:  grog
Suggested by:     alfred
Suffered by:      Andrew Gordon &lt;arg@arg1.demon.co.uk&gt;
Approved by:      jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	   waiting for a lock, and between the time it is woken and
	   it retries the lock, another process gets it and places it
	   in the first entry in the table.

	   This problem has not been observed, but it's possible, and
	   it's easy enough to fix.

Submitted by:	tegge

vinumunlock: Catch a real bug capable of hanging a system.  When
             releasing a lock, vinumunlock() called wakeup_one.  This
             caused wakeups to sometimes get lost.  After due
             consideration, we think that this is due to the fact that
             you can't guarantee that some other process is also
             waiting on the same address.  This makes wakeup_one a
             very dangerous function to use.

These changes have not yet been committed to -CURRENT.  In view of the
seriousness of the second one and the imminent 4.3-RELEASE, it seems
excusable to commit to -STABLE first.

36 hour test by:  grog
Suggested by:     alfred
Suffered by:      Andrew Gordon &lt;arg@arg1.demon.co.uk&gt;
Approved by:      jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Allocate lock table for striped plexes as well as parity plexes.</title>
<updated>2001-03-30T05:41:39+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2001-03-30T05:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dd51b77b8adbba895ebd4276a2ed6b274d698c4c'/>
<id>dd51b77b8adbba895ebd4276a2ed6b274d698c4c</id>
<content type='text'>
This was forgotten in the last slew of MFCs, and caused an immediate
panic when starting a striped plex.

Suffered by:	"John J. Rushford Jr" &lt;jjr@sapphire.alisa.org&gt;
Approved by:	jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was forgotten in the last slew of MFCs, and caused an immediate
panic when starting a striped plex.

Suffered by:	"John J. Rushford Jr" &lt;jjr@sapphire.alisa.org&gt;
Approved by:	jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch up with -CURRENT.  I've left it very late to MFC a number of</title>
<updated>2001-03-13T03:04:06+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2001-03-13T03:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e8a86854a051dd0b9fce544c45e41dc264cd5ae3'/>
<id>e8a86854a051dd0b9fce544c45e41dc264cd5ae3</id>
<content type='text'>
problems which are fixed in -CURRENT.  Now's still not a good time to
do it, so I'd be grateful if people would hammer on this stuff.

Approved by:   jkh
Pointy hat to: grog
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
problems which are fixed in -CURRENT.  Now's still not a good time to
do it, so I'd be grateful if people would hammer on this stuff.

Approved by:   jkh
Pointy hat to: grog
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: don't cross stripe boundaries when reviving.</title>
<updated>2000-11-19T19:46:40+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2000-11-19T19:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=628764b09f02b30ca6a935d66ae6d4588106181a'/>
<id>628764b09f02b30ca6a935d66ae6d4588106181a</id>
<content type='text'>
Approved by: jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by: jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Bring in sync with -CURRENT.  Significant changes include:</title>
<updated>2000-06-08T02:00:23+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2000-06-08T02:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bd9f6bc2aea17a58fbd95f8c0deb5250a8ae860e'/>
<id>bd9f6bc2aea17a58fbd95f8c0deb5250a8ae860e</id>
<content type='text'>
- Add dumpconfig command.
- Fix data corruption problems in RAID-4 and RAID-5 revive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add dumpconfig command.
- Fix data corruption problems in RAID-4 and RAID-5 revive.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC.  This appears to have been omitted by accident in an earlier</title>
<updated>2000-06-02T04:26:11+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2000-06-02T04:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f7f22843a0faa8903e118128246d7aa03e05c64'/>
<id>1f7f22843a0faa8903e118128246d7aa03e05c64</id>
<content type='text'>
commitfest.

expand_table: Avoid a race condition which may have been contributing
to the random corruption, panics and hangs we've been seeing in RAID-5
plexes, particularly with ata drives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commitfest.

expand_table: Avoid a race condition which may have been contributing
to the random corruption, panics and hangs we've been seeing in RAID-5
plexes, particularly with ata drives.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: parityrebuild: write the parity block back to the correct</title>
<updated>2000-06-02T04:20:35+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2000-06-02T04:20:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da103a5a53ffd1ae586fb25748079d79b1c16414'/>
<id>da103a5a53ffd1ae586fb25748079d79b1c16414</id>
<content type='text'>
subdisk.

HEADS UP: This fixes a serious data corruption bug when using the
userland command 'rebuildparity'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
subdisk.

HEADS UP: This fixes a serious data corruption bug when using the
userland command 'rebuildparity'.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Don't forget 'stripe' and 'mirror' commands when we turn off</title>
<updated>2000-05-20T03:23:49+00:00</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2000-05-20T03:23:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=564545771a8c577472f48bd4077375064efe0fea'/>
<id>564545771a8c577472f48bd4077375064efe0fea</id>
<content type='text'>
debugging.

Submitted-by: mdodd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
debugging.

Submitted-by: mdodd
</pre>
</div>
</content>
</entry>
</feed>
