<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/md/linear.h, branch v3.4.30</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/md/linear.h?h=v3.4.30</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/md/linear.h?h=v3.4.30'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-10-11T05:48:54Z</updated>
<entry>
<title>md/linear: typedef removal: linear_conf_t -&gt; struct linear_conf</title>
<updated>2011-10-11T05:48:54Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-10-11T05:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e849b9381f726c0fa20c4e7b7139b936df777084'/>
<id>urn:sha1:e849b9381f726c0fa20c4e7b7139b936df777084</id>
<content type='text'>
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md/linear: remove typedefs: dev_info_t -&gt; struct dev_info</title>
<updated>2011-10-11T05:48:49Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-10-11T05:48:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a71207713a36e73fb1bc264453a9c594b95d3af1'/>
<id>urn:sha1:a71207713a36e73fb1bc264453a9c594b95d3af1</id>
<content type='text'>
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: removing typedefs:  mdk_rdev_t -&gt; struct md_rdev</title>
<updated>2011-10-11T05:45:26Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-10-11T05:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3cb03002000f133f9f97269edefd73611eafc873'/>
<id>urn:sha1:3cb03002000f133f9f97269edefd73611eafc873</id>
<content type='text'>
The typedefs are just annoying. 'mdk' probably refers to 'md_k.h'
which used to be an include file that defined this thing.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md/linear: avoid corrupting structure while waiting for rcu_free to complete.</title>
<updated>2011-08-25T04:43:53Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-08-25T04:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1b6afa17581027218088a18a9ceda600e0ddba7a'/>
<id>urn:sha1:1b6afa17581027218088a18a9ceda600e0ddba7a</id>
<content type='text'>
I don't know what I was thinking putting 'rcu' after a dynamically
sized array!  The array could still be in use when we call rcu_free()
(That is the point) so we mustn't corrupt it.

Cc: stable@kernel.org
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md/linear: use call_rcu to free obsolete 'conf' structures.</title>
<updated>2009-06-17T22:49:42Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2009-06-17T22:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=495d357301e1de01fabe30ce9a555301fb4675c3'/>
<id>urn:sha1:495d357301e1de01fabe30ce9a555301fb4675c3</id>
<content type='text'>
Current, when we update the 'conf' structure, when adding a
drive to a linear array, we keep the old version around until
the array is finally stopped, as it is not safe to free it
immediately.

Now that we have rcu protection on all accesses to 'conf',
we can use call_rcu to free it more promptly.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: Removing num_sector and replacing start_sector with end_sector</title>
<updated>2009-06-16T06:56:13Z</updated>
<author>
<name>Sandeep K Sinha</name>
<email>sandeepksinha@gmail.com</email>
</author>
<published>2009-06-16T06:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4db7cdc859f56ecf0a186e0cfb238b5bb3af2efb'/>
<id>urn:sha1:4db7cdc859f56ecf0a186e0cfb238b5bb3af2efb</id>
<content type='text'>
Remove num_sectors from dev_info and replace start_sector with
end_sector.  This makes a lot of comparisons much simpler.

Signed-off-by: Sandeep K Sinha &lt;sandeepksinha@gmail.com&gt;
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: Removal of hash table in linear raid</title>
<updated>2009-06-16T06:55:26Z</updated>
<author>
<name>Sandeep K Sinha</name>
<email>sandeepksinha@gmail.com</email>
</author>
<published>2009-06-16T06:55:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=45d4582f219619e368ea91ea1189085e1c5f1969'/>
<id>urn:sha1:45d4582f219619e368ea91ea1189085e1c5f1969</id>
<content type='text'>
Get rid of sector_div and hash table for linear raid and replace
with a linear search in which_dev.
The hash table adds a lot of complexity for little if any gain.
Ultimately a binary search will be used which will have smaller
cache foot print, a similar number of memory access, and no
divisions.

Signed-off-by: Sandeep K Sinha &lt;sandeepksinha@gmail.com&gt;
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: remove mddev_to_conf "helper" macro</title>
<updated>2009-06-16T06:54:21Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2009-06-16T06:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=070ec55d07157a3041f92654135c3c6e2eaaf901'/>
<id>urn:sha1:070ec55d07157a3041f92654135c3c6e2eaaf901</id>
<content type='text'>
Having a macro just to cast a void* isn't really helpful.
I would must rather see that we are simply de-referencing -&gt;private,
than have to know what the macro does.

So open code the macro everywhere and remove the pointless cast.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: move lots of #include lines out of .h files and into .c</title>
<updated>2009-03-31T03:33:13Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2009-03-31T03:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bff61975b3d6c18ee31457cc5b4d73042f44915f'/>
<id>urn:sha1:bff61975b3d6c18ee31457cc5b4d73042f44915f</id>
<content type='text'>
This makes the includes more explicit, and is preparation for moving
md_k.h to drivers/md/md.h

Remove include/raid/md.h as its only remaining use was to #include
other files.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
<entry>
<title>md: move headers out of include/linux/raid/</title>
<updated>2009-03-31T03:27:03Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2009-03-31T03:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ef740c372dfd80e706dbf955d4e4aedda6c0c148'/>
<id>urn:sha1:ef740c372dfd80e706dbf955d4e4aedda6c0c148</id>
<content type='text'>
Move the headers with the local structures for the disciplines and
bitmap.h into drivers/md/ so that they are more easily grepable for
hacking and not far away.  md.h is left where it is for now as there
are some uses from the outside.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
</content>
</entry>
</feed>
