<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/block/ioctl.c, branch tmp/leds/core</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2008-12-29T07:28:43Z</updated>
<entry>
<title>block: don't take lock on changing ra_pages</title>
<updated>2008-12-29T07:28:43Z</updated>
<author>
<name>Wu Fengguang</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2008-11-25T08:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7c239517d9f18427fc2e7ed259fb3b866595f5af'/>
<id>urn:sha1:7c239517d9f18427fc2e7ed259fb3b866595f5af</id>
<content type='text'>
There's no need to take queue_lock or kernel_lock when modifying
bdi-&gt;ra_pages. So remove them. Also remove out of date comment for
queue_max_sectors_store().

Signed-off-by: Wu Fengguang &lt;wfg@linux.intel.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: make add_partition() return pointer to hd_struct</title>
<updated>2008-11-18T14:08:56Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-11-10T06:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ba32929a91fe2c0628f5be62d1597b379c8d3062'/>
<id>urn:sha1:ba32929a91fe2c0628f5be62d1597b379c8d3062</id>
<content type='text'>
Make add_partition() return pointer to the new hd_struct on success
and ERR_PTR() value on failure.  This change will be used to fix md
autodetection bug.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] kill the rest of struct file propagation in block ioctls</title>
<updated>2008-10-21T11:49:14Z</updated>
<author>
<name>Al Viro</name>
<email>al@aretha.pdmi.ras.ru</email>
</author>
<published>2008-09-19T07:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=56b26add02b4bdea81d5e0ebda60db1fe3311ad4'/>
<id>urn:sha1:56b26add02b4bdea81d5e0ebda60db1fe3311ad4</id>
<content type='text'>
Now we can switch blkdev_ioctl() block_device/mode

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET</title>
<updated>2008-10-21T11:49:12Z</updated>
<author>
<name>Al Viro</name>
<email>al@aretha.pdmi.ras.ru</email>
</author>
<published>2008-09-19T07:08:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6af3a56e1dd4d95836a47214e5c60d5b749a5501'/>
<id>urn:sha1:6af3a56e1dd4d95836a47214e5c60d5b749a5501</id>
<content type='text'>
We need to do bd_claim() only if file hadn't been opened with O_EXCL
and then we have no need to use file itself as owner.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] get rid of blkdev_locked_ioctl()</title>
<updated>2008-10-21T11:49:10Z</updated>
<author>
<name>Al Viro</name>
<email>al@aretha.pdmi.ras.ru</email>
</author>
<published>2008-09-18T19:53:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=45048d0961cdbf7ddfba906797ad8cb42489e070'/>
<id>urn:sha1:45048d0961cdbf7ddfba906797ad8cb42489e070</id>
<content type='text'>
Most of that stuff doesn't need BKL at all; expand in the (only) caller,
merge the switch into one there and leave BKL only around the stuff that
might actually need it.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] get rid of blkdev_driver_ioctl()</title>
<updated>2008-10-21T11:49:08Z</updated>
<author>
<name>Al Viro</name>
<email>al@aretha.pdmi.ras.ru</email>
</author>
<published>2008-09-18T07:38:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e436fdae70a31102d2be32969b80fe8545edebd9'/>
<id>urn:sha1:e436fdae70a31102d2be32969b80fe8545edebd9</id>
<content type='text'>
convert remaining callers to __blkdev_driver_ioctl()

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] end of methods switch: remove the old ones</title>
<updated>2008-10-21T11:48:52Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-03-02T15:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=90b8f2824ce68dd87d304641a1d5a048dfff39f5'/>
<id>urn:sha1:90b8f2824ce68dd87d304641a1d5a048dfff39f5</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] beginning of methods conversion</title>
<updated>2008-10-21T11:47:32Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-03-02T14:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d4430d62fa77208824a37fe6f85ab2831d274769'/>
<id>urn:sha1:d4430d62fa77208824a37fe6f85ab2831d274769</id>
<content type='text'>
To keep the size of changesets sane we split the switch by drivers;
to keep the damn thing bisectable we do the following:
	1) rename the affected methods, add ones with correct
prototypes, make (few) callers handle both.  That's this changeset.
	2) for each driver convert to new methods.  *ALL* drivers
are converted in this series.
	3) kill the old (renamed) methods.

Note that it _is_ a flagday; all in-tree drivers are converted and by the
end of this series no trace of old methods remain.  The only reason why
we do that this way is to keep the damn thing bisectable and allow per-driver
debugging if anything goes wrong.

New methods:
	open(bdev, mode)
	release(disk, mode)
	ioctl(bdev, mode, cmd, arg)		/* Called without BKL */
	compat_ioctl(bdev, mode, cmd, arg)
	locked_ioctl(bdev, mode, cmd, arg)	/* Called with BKL, legacy */

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] introduce __blkdev_driver_ioctl()</title>
<updated>2008-10-21T11:47:26Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2007-08-30T00:34:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=633a08b81206122469365b4c72eaeb71f04f2cb4'/>
<id>urn:sha1:633a08b81206122469365b4c72eaeb71f04f2cb4</id>
<content type='text'>
Analog of blkdev_driver_ioctl() with sane arguments.  For
now uses fake struct file, by the end of the series it won't
and blkdev_driver_ioctl() will become a wrapper around it.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>block: make partition array dynamic</title>
<updated>2008-10-09T06:56:08Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-08-25T10:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=540eed5637b766bb1e881ef744c42617760b4815'/>
<id>urn:sha1:540eed5637b766bb1e881ef744c42617760b4815</id>
<content type='text'>
disk-&gt;__part used to be statically allocated to the maximum possible
number of partitions.  This patch makes partition array allocation
dynamic.  The added overhead is minimal as only real change is one
memory dereference changed to RCU one.  This saves both a bit of
memory and cpu cycles iterating through unoccupied slots and makes
increasing partition limit easier.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
</feed>
