linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: jens.axboe@oracle.com, James.Bottomley@HansenPartnership.com,
	bharrosh@panasas.com, greg.freemyer@gmail.com,
	linux-scsi@vger.kernel.org, brking@linux.vnet.ibm.com,
	liml@rtr.ca, viro@f
Subject: [PATCHSET 2.6.26] block: implement extended devt, take #2
Date: Mon, 14 Jul 2008 16:12:04 +0900	[thread overview]
Message-ID: <1216019534-29977-1-git-send-email-tj@kernel.org> (raw)

Hello, all.

This is the second take of block-extended-devt patchset and contains
the following 10 patches.

0001-block-misc-updates.patch
0002-block-make-variable-and-argument-names-more-consist.patch
0003-block-don-t-depend-on-consecutive-minor-space.patch
0004-block-fix-disk-part-dereferencing-race.patch
0005-block-always-use-__-disk-part-all-_stat_-and-kil.patch
0006-block-drop-underbars-from-__-disk-part-all-_stat_.patch
0007-block-implement-extended-dev-numbers.patch
0008-block-adjust-formatting-for-large-minors-and-add-ex.patch
0009-sd-ide-disk-apply-extended-minors-to-sd-and-ide.patch
0010-block-implement-CONFIG_DEBUG_BLOCK_EXT_DEVT.patch

0001-0002 are trivial preparation patches.  0003 implements accessors
and applies them to insulate consecutive device number assumption and
help fixing partition dereferencing problem.  0004-0006 fixes
partition dereferencing bug and simplifies stats handling.  0007-0010
implement and apply extended devt.

Changes from the last take[L] are...

* Partition dereferencing problem is fixed.  This is included in the
  patchset as it depends on partition helpers implemented by 0003 and
  extended devt changes depend on partition dereference fix.  Even if
  the extended devt patches get nacked, 0001-0006 should be worthwhile
  cleanup.

* For extended devts, kobj_map doesn't make much sense as there's no
  fixed MAJ:MIN mapping and kernel can't take any default action for
  missing device, so extended devt lookup no longer goes through
  kobj_map.  Instead, it's directly looked up using ida.

* ext devt ida lookup / removal locking fixed.  A separate mutex is
  used to protect lookup against removal.

For general description of the patchset, please read description of
the last take[L].

This patchset is against...

  v2.6.26 (bce7f793daec3e65ec5c5705d2457b81fe7b5725)
+ [1] RCU-implement-rcu_read_[un]lock_preempt
+ [2] block-fix-block_class-iteration-locking
+ [3] block-allow-deleting-zero-lenght-partition
+ [4] block-update-add_partition-error-handling

and available in the following git tree.

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

and the combined diffstat follows.

 block/blk-core.c                    |   53 ++-
 block/blk-merge.c                   |    9 
 block/genhd.c                       |  528 ++++++++++++++++++++++++++++++------
 block/ioctl.c                       |   38 +-
 drivers/block/aoe/aoecmd.c          |    6 
 drivers/block/pktcdvd.c             |    2 
 drivers/block/ps3disk.c             |    2 
 drivers/char/random.c               |    6 
 drivers/ide/ide-disk.c              |   17 -
 drivers/md/dm-ioctl.c               |    4 
 drivers/md/dm-stripe.c              |    4 
 drivers/md/dm.c                     |   13 
 drivers/md/linear.c                 |    2 
 drivers/md/multipath.c              |    2 
 drivers/md/raid0.c                  |    2 
 drivers/md/raid1.c                  |    2 
 drivers/md/raid10.c                 |    2 
 drivers/md/raid5.c                  |    2 
 drivers/memstick/core/mspro_block.c |    2 
 drivers/mmc/card/block.c            |    2 
 drivers/s390/block/dasd_proc.c      |    3 
 drivers/s390/block/dcssblk.c        |    4 
 drivers/scsi/sd.c                   |   15 -
 drivers/scsi/sr.c                   |    2 
 fs/block_dev.c                      |   23 -
 fs/partitions/check.c               |  110 ++++---
 include/linux/fs.h                  |    1 
 include/linux/genhd.h               |  171 ++++++-----
 include/linux/major.h               |    2 
 lib/Kconfig.debug                   |   16 +
 30 files changed, 777 insertions(+), 268 deletions(-)

Thanks.

--
tejun
 
[L] http://thread.gmane.org/gmane.linux.kernel/701825
[1] http://article.gmane.org/gmane.linux.kernel/706149
[2] http://article.gmane.org/gmane.linux.kernel/706152
[3] http://article.gmane.org/gmane.linux.kernel/706153
[4] http://article.gmane.org/gmane.linux.kernel/706154

             reply	other threads:[~2008-07-14  7:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-14  7:12 Tejun Heo [this message]
2008-07-14  7:12 ` [PATCH 01/10] block: misc updates Tejun Heo
2008-07-14  7:12 ` [PATCH 02/10] block: make variable and argument names more consistent Tejun Heo
2008-07-14  7:12 ` [PATCH 03/10] block: don't depend on consecutive minor space Tejun Heo
2008-07-14  7:12 ` [PATCH 04/10] block: fix disk->part[] dereferencing race Tejun Heo
2008-07-14  7:12 ` [PATCH 05/10] block: always use __{disk|part|all}_stat_*() and kill non-underbarred versions Tejun Heo
2008-07-14  7:12 ` [PATCH 06/10] block: drop underbars from __{disk|part|all}_stat_*() Tejun Heo
2008-07-14  7:12 ` [PATCH 07/10] block: implement extended dev numbers Tejun Heo
2008-07-14  7:12 ` [PATCH 08/10] block: adjust formatting for large minors and add ext_range sysfs attr Tejun Heo
2008-07-14  7:12 ` [PATCH 09/10] sd/ide-disk: apply extended minors to sd and ide Tejun Heo
2008-07-14  7:12 ` [PATCH 10/10] block: implement CONFIG_DEBUG_BLOCK_EXT_DEVT Tejun Heo
2008-07-14  7:15 ` [PATCHSET 2.6.26] block: implement extended devt, take #2 Tejun Heo
     [not found] ` <1216019534-29977-6-git-send-email-tj@kernel.org>
2008-07-16  6:19   ` [PATCH 05/10] block: always use __{disk|part|all}_stat_*() and kill non-underbarred versions Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1216019534-29977-1-git-send-email-tj@kernel.org \
    --to=tj@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=bharrosh@panasas.com \
    --cc=brking@linux.vnet.ibm.com \
    --cc=greg.freemyer@gmail.com \
    --cc=jens.axboe@oracle.com \
    --cc=liml@rtr.ca \
    --cc=linux-scsi@vger.kernel.org \
    --cc=viro@f \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).