<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/block, branch v2.6.36-rc2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/block?h=v2.6.36-rc2</id>
<link rel='self' href='https://git.amat.us/linux/atom/block?h=v2.6.36-rc2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-08-12T15:43:30Z</updated>
<entry>
<title>block: add secure discard</title>
<updated>2010-08-12T15:43:30Z</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@nokia.com</email>
</author>
<published>2010-08-11T21:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8d57a98ccd0b4489003473979da8f5a1363ba7a3'/>
<id>urn:sha1:8d57a98ccd0b4489003473979da8f5a1363ba7a3</id>
<content type='text'>
Secure discard is the same as discard except that all copies of the
discarded sectors (perhaps created by garbage collection) must also be
erased.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@nokia.com&gt;
Acked-by: Jens Axboe &lt;axboe@kernel.dk&gt;
Cc: Kyungmin Park &lt;kmpark@infradead.org&gt;
Cc: Madhusudhan Chikkature &lt;madhu.cr@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Cc: &lt;linux-mmc@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>blkdev: fix blkdev_issue_zeroout return value</title>
<updated>2010-08-08T16:31:08Z</updated>
<author>
<name>Dmitry Monakhov</name>
<email>dmonakhov@openvz.org</email>
</author>
<published>2010-08-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=18edc8eaa68070771bdb2098260e44efe74de722'/>
<id>urn:sha1:18edc8eaa68070771bdb2098260e44efe74de722</id>
<content type='text'>
- If function called without barrier option retvalue is incorrect

Signed-off-by: Dmitry Monakhov &lt;dmonakhov@openvz.org&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: update request stacking methods to support discards</title>
<updated>2010-08-08T16:11:33Z</updated>
<author>
<name>ike Snitzer</name>
<email>snitzer@redhat.com</email>
</author>
<published>2010-08-08T16:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3383977fadc4027f20907f6208a9033cd043adab'/>
<id>urn:sha1:3383977fadc4027f20907f6208a9033cd043adab</id>
<content type='text'>
Propagate REQ_DISCARD in cmd_flags when cloning a discard request.
Skip blk_rq_check_limits's existing checks for discard requests because
discard limits will have already been checked in blkdev_issue_discard.

Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: set up rq-&gt;rq_disk properly for flush requests</title>
<updated>2010-08-07T16:52:41Z</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2010-07-09T00:38:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=16f2319fd67b169c0b34391d3fa0870fff129891'/>
<id>urn:sha1:16f2319fd67b169c0b34391d3fa0870fff129891</id>
<content type='text'>
q-&gt;bar_rq.rq_disk is NULL. Use the rq_disk of the original request
instead.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: set REQ_TYPE_FS on flush requests</title>
<updated>2010-08-07T16:52:40Z</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2010-07-09T00:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=28e18d0188b9e3ab82ebd09d9b1d1c7f8d1822aa'/>
<id>urn:sha1:28e18d0188b9e3ab82ebd09d9b1d1c7f8d1822aa</id>
<content type='text'>
the block layer doesn't set rq-&gt;cmd_type on flush requests. By
definition, it should be REQ_TYPE_FS (the lower layers build a command
and interpret the result of it, that is, the block layer doesn't know
the details).

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: fix problem with sending down discard that isn't of correct granularity</title>
<updated>2010-08-07T16:26:33Z</updated>
<author>
<name>Jens Axboe</name>
<email>jaxboe@fusionio.com</email>
</author>
<published>2010-07-15T16:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=10d1f9e2ccfff40665a00ea0e0a0d11e54c9cbb1'/>
<id>urn:sha1:10d1f9e2ccfff40665a00ea0e0a0d11e54c9cbb1</id>
<content type='text'>
If the queue doesn't have a limit set, or it just set UINT_MAX like
we default to, we coud be sending down a discard request that isn't
of the correct granularity if the block size is &gt; 512b.

Fix this by adjusting max_discard_sectors down to the proper
alignment.

Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>blkdev: check for valid request queue before issuing flush</title>
<updated>2010-08-07T16:26:29Z</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2010-07-13T07:50:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f10d9f617a65905c556c3b37c9b9646ae7d04ed7'/>
<id>urn:sha1:f10d9f617a65905c556c3b37c9b9646ae7d04ed7</id>
<content type='text'>
Issuing a blkdev_issue_flush() on an unconfigured loop device causes a panic as
q-&gt;make_request_fn is not configured. This can occur when trying to mount the
unconfigured loop device as an XFS filesystem. There are no guards that catch
the bio before the request function is called because we don't add a payload to
the bio. Instead, manually check this case as soon as we have a pointer to the
queue to flush.

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: remove BKL from partition ioctls</title>
<updated>2010-08-07T16:26:08Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2010-07-07T14:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15392efb9d427482754f6d267262452878667499'/>
<id>urn:sha1:15392efb9d427482754f6d267262452878667499</id>
<content type='text'>
The blkpg_ioctl and blkdev_reread_part access fields of
the bdev and gendisk structures, yet they always do so
under the protection of bdev-&gt;bd_mutex, which seems
sufficient.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
cked-by: Christoph Hellwig &lt;hch@infradead.org&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: remove BKL from BLKROSET and BLKFLSBUF</title>
<updated>2010-08-07T16:26:08Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2010-07-07T14:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6de43703108bb1d3fc9495b3e8107d6ec72f97e4'/>
<id>urn:sha1:6de43703108bb1d3fc9495b3e8107d6ec72f97e4</id>
<content type='text'>
We only call the functions set_device_ro(),
invalidate_bdev(), sync_filesystem() and sync_blockdev()
while holding the BKL in these commands. All
of these are also done in other code paths without
the BKL, which leads me to the conclusion that
the BKL is not needed here either.

The reason we hold it here is that it was originally
pushed down into the ioctl function from vfs_ioctl.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>block: push BKL into blktrace ioctls</title>
<updated>2010-08-07T16:26:08Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2010-07-07T14:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=62c2a7d969f30163f733c81158254b3095b23e72'/>
<id>urn:sha1:62c2a7d969f30163f733c81158254b3095b23e72</id>
<content type='text'>
The blktrace driver currently needs the BKL, but
we should not need to take that in the block layer,
so just push it down into the driver itself.

It is quite likely that the BKL is not actually
required in blktrace code and could be removed
in a follow-on patch.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Christoph Hellwig &lt;hch@infradead.org&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
</feed>
