<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/md/Kconfig, branch v3.0.6</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.0.6</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.0.6'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2011-03-24T13:54:24+00:00</updated>
<entry>
<title>dm: add flakey target</title>
<updated>2011-03-24T13:54:24+00:00</updated>
<author>
<name>Josef Bacik</name>
<email>josef@redhat.com</email>
</author>
<published>2011-03-24T13:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3407ef5262b55ca5d7139d2b555ef792fe531eec'/>
<id>urn:sha1:3407ef5262b55ca5d7139d2b555ef792fe531eec</id>
<content type='text'>
This target is the same as the linear target except that it returns I/O
errors periodically.  It's been found useful in simulating failing
devices for testing purposes.

I needed a dm target to do some failure testing on btrfs's raid code, and
Mike pointed me at this.

Signed-off-by: Josef Bacik &lt;josef@redhat.com&gt;
Signed-off-by: Alasdair G Kergon &lt;agk@redhat.com&gt;
</content>
</entry>
<entry>
<title>dm: raid456 basic support</title>
<updated>2011-01-13T20:00:02+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-01-13T20:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9d09e663d5502c46f2d9481c04c1087e1c2da698'/>
<id>urn:sha1:9d09e663d5502c46f2d9481c04c1087e1c2da698</id>
<content type='text'>
This patch is the skeleton for the DM target that will be
the bridge from DM to MD (initially RAID456 and later RAID1).  It
provides a way to use device-mapper interfaces to the MD RAID456
drivers.

As with all device-mapper targets, the nominal public interfaces are the
constructor (CTR) tables and the status outputs (both STATUSTYPE_INFO
and STATUSTYPE_TABLE).  The CTR table looks like the following:

1: &lt;s&gt; &lt;l&gt; raid \
2:	&lt;raid_type&gt; &lt;#raid_params&gt; &lt;raid_params&gt; \
3:	&lt;#raid_devs&gt; &lt;meta_dev1&gt; &lt;dev1&gt; .. &lt;meta_devN&gt; &lt;devN&gt;

Line 1 contains the standard first three arguments to any device-mapper
target - the start, length, and target type fields.  The target type in
this case is "raid".

Line 2 contains the arguments that define the particular raid
type/personality/level, the required arguments for that raid type, and
any optional arguments.  Possible raid types include: raid4, raid5_la,
raid5_ls, raid5_rs, raid6_zr, raid6_nr, and raid6_nc.  (again, raid1 is
planned for the future.)  The list of required and optional parameters
is the same for all the current raid types.  The required parameters are
positional, while the optional parameters are given as key/value pairs.
The possible parameters are as follows:
 &lt;chunk_size&gt;		Chunk size in sectors.
 [[no]sync]		Force/Prevent RAID initialization
 [rebuild &lt;idx&gt;]	Rebuild the drive indicated by the index
 [daemon_sleep &lt;ms&gt;]	Time between bitmap daemon work to clear bits
 [min_recovery_rate &lt;kB/sec/disk&gt;]	Throttle RAID initialization
 [max_recovery_rate &lt;kB/sec/disk&gt;]	Throttle RAID initialization
 [max_write_behind &lt;value&gt;]		See '-write-behind=' (man mdadm)
 [stripe_cache &lt;sectors&gt;]		Stripe cache size for higher RAIDs

Line 3 contains the list of devices that compose the array in
metadata/data device pairs.  If the metadata is stored separately, a '-'
is given for the metadata device position.  If a drive has failed or is
missing at creation time, a '-' can be given for both the metadata and
data drives for a given position.

Examples:
# RAID4 - 4 data drives, 1 parity
# No metadata devices specified to hold superblock/bitmap info
# Chunk size of 1MiB
# (Lines separated for easy reading)
0 1960893648 raid \
	raid4 1 2048 \
	5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81

# RAID4 - 4 data drives, 1 parity (no metadata devices)
# Chunk size of 1MiB, force RAID initialization,
#	min recovery rate at 20 kiB/sec/disk
0 1960893648 raid \
        raid4 4 2048 min_recovery_rate 20 sync\
        5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81

Performing a 'dmsetup table' should display the CTR table used to
construct the mapping (with possible reordering of optional
parameters).

Performing a 'dmsetup status' will yield information on the state and
health of the array.  The output is as follows:
1: &lt;s&gt; &lt;l&gt; raid \
2:	&lt;raid_type&gt; &lt;#devices&gt; &lt;1 health char for each dev&gt; &lt;resync_ratio&gt;

Line 1 is standard DM output.  Line 2 is best shown by example:
	0 1960893648 raid raid4 5 AAAAA 2/490221568
Here we can see the RAID type is raid4, there are 5 devices - all of
which are 'A'live, and the array is 2/490221568 complete with recovery.

Cc: linux-raid@vger.kernel.org
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
Signed-off-by: Jonathan Brassow &lt;jbrassow@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
Signed-off-by: Alasdair G Kergon &lt;agk@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'async' of macbook:git/btrfs-unstable</title>
<updated>2010-08-09T09:36:44+00:00</updated>
<author>
<name>David Woodhouse</name>
<email>David.Woodhouse@intel.com</email>
</author>
<published>2010-08-09T09:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2144381da478cc4aa3a29ee29b0c5e6ddaaced14'/>
<id>urn:sha1:2144381da478cc4aa3a29ee29b0c5e6ddaaced14</id>
<content type='text'>
Conflicts:
	drivers/md/Makefile
	lib/raid6/unroll.pl
</content>
</entry>
<entry>
<title>md: remove EXPERIMENTAL designation from RAID10</title>
<updated>2010-05-18T05:27:58+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2010-05-03T03:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08fb730ca346ff16598ef31911c88fbca6133bf5'/>
<id>urn:sha1:08fb730ca346ff16598ef31911c88fbca6133bf5</id>
<content type='text'>
RAID10 has been available for quite a while now and is quite well
tested, so we can remove the EXPERIMENTAL designation.

Reported-by: Eric MSP Veith &lt;eveith@wwweb-library.net&gt;
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: revise Kconfig help for MD_MULTIPATH</title>
<updated>2009-12-14T01:51:41+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2009-12-14T01:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=93bd89a6d5f268acbdb8d775e40d3a280b07b5bd'/>
<id>urn:sha1:93bd89a6d5f268acbdb8d775e40d3a280b07b5bd</id>
<content type='text'>
Make it clear in the config message that MD_MULTIPATH is not under
active development.

Cc: Oren Held &lt;orenhe@il.ibm.com&gt;
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>async_tx: Move ASYNC_RAID6_TEST option to crypto/async_tx/, fix dependencies</title>
<updated>2009-10-29T16:41:49+00:00</updated>
<author>
<name>David Woodhouse</name>
<email>David.Woodhouse@intel.com</email>
</author>
<published>2009-10-29T16:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e5d84970a554d5c0072043a7b9f0f5b88b5fdfe1'/>
<id>urn:sha1:e5d84970a554d5c0072043a7b9f0f5b88b5fdfe1</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>md: Factor out RAID6 algorithms into lib/</title>
<updated>2009-10-29T14:38:47+00:00</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@tylersburg.infradead.org</email>
</author>
<published>2009-07-13T10:35:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f5e70d0fe3ea990cfb3fc8d7f76a719adcb1e0b5'/>
<id>urn:sha1:f5e70d0fe3ea990cfb3fc8d7f76a719adcb1e0b5</id>
<content type='text'>
We'll want to use these in btrfs too.

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dmaengine' into async-tx-next</title>
<updated>2009-09-09T00:55:21+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2009-09-09T00:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bbb20089a3275a19e475dbc21320c3742e3ca423'/>
<id>urn:sha1:bbb20089a3275a19e475dbc21320c3742e3ca423</id>
<content type='text'>
Conflicts:
	crypto/async_tx/async_xor.c
	drivers/dma/ioat/dma_v2.h
	drivers/dma/ioat/pci.c
	drivers/md/raid5.c
</content>
</entry>
<entry>
<title>md/raid456: distribute raid processing over multiple cores</title>
<updated>2009-08-30T02:13:13+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2009-08-30T02:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=07a3b417dc3d00802bd7b4874c3e811f0b015a7d'/>
<id>urn:sha1:07a3b417dc3d00802bd7b4874c3e811f0b015a7d</id>
<content type='text'>
Now that the resources to handle stripe_head operations are allocated
percpu it is possible for raid5d to distribute stripe handling over
multiple cores.  This conversion also adds a call to cond_resched() in
the non-multicore case to prevent one core from getting monopolized for
raid operations.

Cc: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>md/raid6: asynchronous raid6 operations</title>
<updated>2009-08-30T02:13:12+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2009-07-14T20:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ac6b53b6e6acab27e4f3e2383f9ac1f0d7c6200b'/>
<id>urn:sha1:ac6b53b6e6acab27e4f3e2383f9ac1f0d7c6200b</id>
<content type='text'>
[ Based on an original patch by Yuri Tikhonov ]

The raid_run_ops routine uses the asynchronous offload api and
the stripe_operations member of a stripe_head to carry out xor+pq+copy
operations asynchronously, outside the lock.

The operations performed by RAID-6 are the same as in the RAID-5 case
except for no support of STRIPE_OP_PREXOR operations. All the others
are supported:
STRIPE_OP_BIOFILL
 - copy data into request buffers to satisfy a read request
STRIPE_OP_COMPUTE_BLK
 - generate missing blocks (1 or 2) in the cache from the other blocks
STRIPE_OP_BIODRAIN
 - copy data out of request buffers to satisfy a write request
STRIPE_OP_RECONSTRUCT
 - recalculate parity for new data that has entered the cache
STRIPE_OP_CHECK
 - verify that the parity is correct

The flow is the same as in the RAID-5 case, and reuses some routines, namely:
1/ ops_complete_postxor (renamed to ops_complete_reconstruct)
2/ ops_complete_compute (updated to set up to 2 targets uptodate)
3/ ops_run_check (renamed to ops_run_check_p for xor parity checks)

[neilb@suse.de: fixes to get it to pass mdadm regression suite]
Reviewed-by: Andre Noll &lt;maan@systemlinux.org&gt;
Signed-off-by: Yuri Tikhonov &lt;yur@emcraft.com&gt;
Signed-off-by: Ilya Yanok &lt;yanok@emcraft.com&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;




</content>
</entry>
</feed>
