<feed xmlns='http://www.w3.org/2005/Atom'>
<title>history/include/linux/raid, branch master</title>
<subtitle>Linux kernel history
</subtitle>
<id>https://git.shady.money/history/atom?h=master</id>
<link rel='self' href='https://git.shady.money/history/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/'/>
<updated>2005-02-07T23:47:54Z</updated>
<entry>
<title>[PATCH] raid5 overlapping read hack</title>
<updated>2005-02-07T23:47:54Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2005-02-07T23:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=3624ed47542112ec3449fbd1aa7cb745f7ac6fab'/>
<id>urn:sha1:3624ed47542112ec3449fbd1aa7cb745f7ac6fab</id>
<content type='text'>
If we detect an overlap, we set a flag and wait for a wakeup.  When requests
are handled, if the flag was set, we perform the wakeup.

Note that the code currently in -mm is badly broken.  With this patch applied,
it passes tests the use O_DIRECT to cause lots of overlapping requests.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: improve 'hash' code in linear.c</title>
<updated>2005-01-08T06:00:48Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2005-01-08T06:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=23526361e625a61e4020c4994da522c5f900584d'/>
<id>urn:sha1:23526361e625a61e4020c4994da522c5f900584d</id>
<content type='text'>
The hashtable that linear uses to find the right device stores
two pointers for every entry.

The second is always one of:
   The first plus 1
   NULL
When NULL, it is never accessed, so any value can be stored.

Thus it could always be "first plus 1", and so we don't need to store
it as it is trivial to calculate.

This patch halves the size of this table, which results in some simpler
code as well.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: "Faulty" personality</title>
<updated>2004-11-11T05:49:10Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-11-11T05:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=f5711563c37aa28daf75bf2ba99fbea2d5d52f1e'/>
<id>urn:sha1:f5711563c37aa28daf75bf2ba99fbea2d5d52f1e</id>
<content type='text'>
The 'faulty' personality provides a layer over any block device in which
errors may be synthesised.

A variety of errors are possible including transient and persistent read
and write errors, and read errors that persist until the next write.

There error mode can be changed on a live array.

Accessing this personality requires mdadm 2.8.0 or later.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: fix problem with md/linear for devices larger than 2 terabytes</title>
<updated>2004-11-11T05:48:15Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-11-11T05:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=54532fdd7db14f3370a1f9c0ea48204558da104b'/>
<id>urn:sha1:54532fdd7db14f3370a1f9c0ea48204558da104b</id>
<content type='text'>
Some size fields were "int" instead of "sector_t".

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: fixes to make version-1 superblocks work in md driver</title>
<updated>2004-10-25T11:13:38Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-10-25T11:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=512c3373155cec986eb381e0c078f0e61d103eba'/>
<id>urn:sha1:512c3373155cec986eb381e0c078f0e61d103eba</id>
<content type='text'>
Add some missing data_offset additions and some le_to_cpu convertions and fix
a few other little mistakes.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: make retry_list non-global in raid1 and multipath</title>
<updated>2004-10-25T11:11:34Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-10-25T11:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=6e010a7185c42184f3ce2e82d0b82f86a03e2f72'/>
<id>urn:sha1:6e010a7185c42184f3ce2e82d0b82f86a03e2f72</id>
<content type='text'>
Both raid1 and multipath have a "retry_list" which is global, so all raid1
arrays (for example) us the same list.  This is rather ugly, and it is simple
enough to make it per-array, so this patch does that.

It also changes to multipath code to use list.h lists instead of
roll-your-own.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] mark md_interrupt_thread static</title>
<updated>2004-09-14T00:47:27Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2004-09-14T00:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=939a9a0326c43b20bc77bece22898ee2678bc911'/>
<id>urn:sha1:939a9a0326c43b20bc77bece22898ee2678bc911</id>
<content type='text'>
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: RAID10 module</title>
<updated>2004-08-24T04:29:06Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-08-24T04:29:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=5f8dbb56fa35876ab6a439b153e686385b6f430f'/>
<id>urn:sha1:5f8dbb56fa35876ab6a439b153e686385b6f430f</id>
<content type='text'>
This patch adds a 'raid10' module which provides features similar to both
raid0 and raid1 in the one array.  Various combinations of layout are
supported.

This code is still "experimental", but appears to work.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: assorted fixes/improvemnet to generic md resync code.</title>
<updated>2004-08-24T04:28:31Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-08-24T04:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=32c31806b1d70b73aa7cab95308199f3d710ff3d'/>
<id>urn:sha1:32c31806b1d70b73aa7cab95308199f3d710ff3d</id>
<content type='text'>
1/ Introduce "mddev-&gt;resync_max_sectors" so that an md personality
can ask for resync to cover a different address range than that of a
single drive.  raid10 will use this.

2/ fix is_mddev_idle so that if there seem to be a negative number
 of events, it doesn't immediately assume activity.

3/ make "sync_io" (the count of IO sectors used for array resync)
 an atomic_t to avoid SMP races. 

4/ Pass md_sync_acct a "block_device" rather than the containing "rdev",
  as the whole rdev isn't needed. Also make this an inline function.

5/ Make sure recovery gets interrupted on any error.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] md: support reshaping raid1 arrays - adding or removing drives.</title>
<updated>2004-06-05T03:56:50Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-06-05T03:56:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=f6a0ebcab2093d6bad49949df0ab055eb47cc07c'/>
<id>urn:sha1:f6a0ebcab2093d6bad49949df0ab055eb47cc07c</id>
<content type='text'>
This allows the number of "raid_disks" in a raid1 to be changed.

This requires allocating a new pool of "r1bio" structures which a different
number of bios, suspending IO, and swapping the new pool in place of the old. 
(and a few other related changes).

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
