[PATCHSET 1/3 blk-for-2.6.28] block: misc fixes and improvements

From: Tejun Heo
Date: Mon Aug 25 2008 - 05:17:19 EST


Hello,

This patchset contains the following five patches containing misc
fixes and improvements.

0001-block-fix-partition-info-printouts.patch
0002-block-don-t-grab-block_class_lock-unnecessarily.patch
0003-block-use-class_dev_iterator-instead-of-class_for_e.patch
0004-block-allow-deleting-zero-length-partition.patch
0005-block-update-add_partition-error-handling.patch

Recent block_class iteration updates 5c6f35c5..27f3025 introduced a
few bugs and trivial user visible behavior change. 0001-0003 update
those issues and simplify related code using new class iterator.

0004 fixes deletion of zero sized partitions.

d805dda4 tried to fix error handling path in add_partition() but had a
few problems. 0005 fixes those and moves busy partition check into
add_partition().

This patchset is against

blk-for-2.6.28 (9abd7c437c02e7448fb1d2d3cfc0b9c1ab77cf2d)
+ [1] klist-dont-iterate-over-deleted-entries
+ [2] use-klist-for-class-device-list-and-implement-iterator

and available in the following git tree.

http://git.kernel.org/?p=linux/kernel/git/tj/misc.git;a=shortlog;h=block-misc-fixes
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git block-misc-fixes

with the following combined diffstat

block/genhd.c | 246 +++++++++++++++++++-------------------------------
block/ioctl.c | 9 -
fs/partitions/check.c | 42 ++++----
3 files changed, 121 insertions(+), 176 deletions(-)

Thanks.

--
tejun

[1] http://article.gmane.org/gmane.linux.kernel/725706
[2] http://article.gmane.org/gmane.linux.kernel/725708
--
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/