<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/block/ioctl.c, branch v2.6.32.59</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/block/ioctl.c?h=v2.6.32.59</id>
<link rel='self' href='https://git.amat.us/linux/atom/block/ioctl.c?h=v2.6.32.59'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-10-03T18:52:01Z</updated>
<entry>
<title>block: Topology ioctls</title>
<updated>2009-10-03T18:52:01Z</updated>
<author>
<name>Martin K. Petersen</name>
<email>martin.petersen@oracle.com</email>
</author>
<published>2009-10-03T18:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ac481c20ef8f6c6f2be75d581863f40c43874ef7'/>
<id>urn:sha1:ac481c20ef8f6c6f2be75d581863f40c43874ef7</id>
<content type='text'>
Not all users of the topology information want to use libblkid.  Provide
the topology information through bdev ioctls.

Also clarify sector size comments for existing BLK ioctls.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: use blkdev_issue_discard in blk_ioctl_discard</title>
<updated>2009-09-14T06:24:53Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2009-09-12T05:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=746cd1e7e4a555ddaee53b19a46e05c9c61eaf09'/>
<id>urn:sha1:746cd1e7e4a555ddaee53b19a46e05c9c61eaf09</id>
<content type='text'>
blk_ioctl_discard duplicates large amounts of code from blkdev_issue_discard,
the only difference between the two is that blkdev_issue_discard needs to
send a barrier discard request and blk_ioctl_discard a non-barrier one,
and blk_ioctl_discard needs to wait on the request.  To facilitates this
add a flags argument to blkdev_issue_discard to control both aspects of the
behaviour.  This will be very useful later on for using the waiting
funcitonality for other callers.

Based on an earlier patch from Matthew Wilcox &lt;matthew@wil.cx&gt;.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: Use accessor functions for queue limits</title>
<updated>2009-05-22T21:22:54Z</updated>
<author>
<name>Martin K. Petersen</name>
<email>martin.petersen@oracle.com</email>
</author>
<published>2009-05-22T21:17:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ae03bf639a5027d27270123f5f6e3ee6a412781d'/>
<id>urn:sha1:ae03bf639a5027d27270123f5f6e3ee6a412781d</id>
<content type='text'>
Convert all external users of queue limits to using wrapper functions
instead of poking the request queue variables directly.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: Do away with the notion of hardsect_size</title>
<updated>2009-05-22T21:22:54Z</updated>
<author>
<name>Martin K. Petersen</name>
<email>martin.petersen@oracle.com</email>
</author>
<published>2009-05-22T21:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e1defc4ff0cf57aca6c5e3ff99fa503f5943c1f1'/>
<id>urn:sha1:e1defc4ff0cf57aca6c5e3ff99fa503f5943c1f1</id>
<content type='text'>
Until now we have had a 1:1 mapping between storage device physical
block size and the logical block sized used when addressing the device.
With SATA 4KB drives coming out that will no longer be the case.  The
sector size will be 4KB but the logical block size will remain
512-bytes.  Hence we need to distinguish between the physical block size
and the logical ditto.

This patch renames hardsect_size to logical_block_size.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: Remove code handling bio_alloc failure with __GFP_WAIT</title>
<updated>2009-04-15T10:10:12Z</updated>
<author>
<name>Nikanth Karthikesan</name>
<email>knikanth@suse.de</email>
</author>
<published>2009-04-15T05:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15afd1cc7b624e1c94fdf824ec5af611050b150c'/>
<id>urn:sha1:15afd1cc7b624e1c94fdf824ec5af611050b150c</id>
<content type='text'>
Remove code handling bio_alloc failure with __GFP_WAIT.
GFP_KERNEL implies __GFP_WAIT.

Signed-off-by: Nikanth Karthikesan &lt;knikanth@suse.de&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<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.amat.us/linux/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.amat.us/linux/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.amat.us/linux/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.amat.us/linux/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.amat.us/linux/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>
</feed>
