[RFC PATCHSET linux-2.6-block#for-2.6.31] block: lld cleanup patches

From: Tejun Heo
Date: Thu Apr 23 2009 - 08:27:39 EST


Hello,

This is a RFC patchset. Please do NOT pull directly from the git
tree.

This patchset contains block lld cleanups and is consisted of the
following 12 patches.

0001-block-update-end_cur.patch
0002-block-don-t-init-rq-fields-unnecessarily.patch
0003-amiflop-ataflop-xd-mg_disk-clean-up-unnecessary-stu.patch
0004-ps3disk-simplify-request-completion.patch
0005-sunvdc-kill-vdc_end_request.patch
0006-ubd-cleanup-completion-path.patch
0007-ubd-drop-unnecessary-rq-sector-manipulation.patch
0008-hd-clean-up-request-completion-paths.patch
0009-swim3-clean-up-request-completion-paths.patch
0010-swim-clean-up-request-completion-paths.patch
0011-mg_disk-fold-mg_disk.h-into-mg_disk.c.patch
0012-mg_disk-clean-up-request-completion-paths.patch

0001 fixes a stupid mistake while implementing blk_request_end_cur()
and 0002 and 0003 are pretty straight forward cleanup. Please feel
free to apply these three patches.

0004-0012 are cleanup patches for various block low level drivers
mostly focusing on completion paths. The biggest change is use of
standard block layer mechanisms for partial completion instead of
doing it by manipulating request directly. All the touched drivers
are only compile tested.

I'm planning on testing hd, xd and um but can't test others. Can you
guys please verify the following drivers work?

ps3disk, sunvdc, swim3, swim and mg_disk.

The following git tree can be used for testing.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git rfc-block-lld-cleanup

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/