public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh@panasas.com>
To: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
	linux-ide@vger.kernel.org, jens.axboe@oracle.com,
	mike.miller@hp.com, grant.likely@secretlab.ca,
	dm-devel@redhat.com, j-nomura@ce.jp.nec.com
Subject: Re: [PATCH 3/7] blk_end_request: changing "normal" drivers
Date: Wed, 05 Sep 2007 10:45:54 +0300	[thread overview]
Message-ID: <46DE5EB2.4050505@panasas.com> (raw)
In-Reply-To: <20070831.184219.95065632.k-ueda@ct.jp.nec.com>

On Sat, Sep 01 2007 at 1:42 +0300, Kiyoshi Ueda <k-ueda@ct.jp.nec.com> wrote:
> This patch converts "normal" drivers, which complete request
> in a standard way shown below, to use blk_end_request().
> 
>  a) end_that_request_{chunk/first}
>     spin_lock_irqsave()
>     (add_disk_randomness(), blk_queue_end_tag(), blkdev_dequeue_request())
>     end_that_request_last()
>     spin_unlock_irqrestore()
>     => blk_end_request()
> 
>  b) spin_lock_irqsave()
>     end_that_request_{chunk/first}
>     (add_disk_randomness(), blk_queue_end_tag(), blkdev_dequeue_request())
>     end_that_request_last()
>     spin_unlock_irqrestore()
>     => spin_lock_irqsave()
>        __blk_end_request()
>        spin_unlock_irqsave()
> 
>  c) end_that_request_last()
>     => __blk_end_request()
> 
> Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
> ---
>  arch/arm/plat-omap/mailbox.c    |    9 ++++++---
>  arch/um/drivers/ubd_kern.c      |   10 +---------
>  block/elevator.c                |    4 ++--
>  block/ll_rw_blk.c               |   15 +++++----------
>  drivers/block/DAC960.c          |    6 ++----
>  drivers/block/floppy.c          |    8 +++-----
>  drivers/block/lguest_blk.c      |    5 +----
>  drivers/block/nbd.c             |    4 +---
>  drivers/block/ps3disk.c         |    6 +-----
>  drivers/block/sunvdc.c          |    5 +----
>  drivers/block/sx8.c             |    4 +---
>  drivers/block/ub.c              |    4 ++--
>  drivers/block/viodasd.c         |    5 +----
>  drivers/block/xen-blkfront.c    |    5 ++---
>  drivers/cdrom/viocd.c           |    5 +----
>  drivers/ide/ide-cd.c            |    6 +++---
>  drivers/ide/ide-io.c            |   22 +++++++---------------
>  drivers/message/i2o/i2o_block.c |    8 ++------
>  drivers/mmc/card/block.c        |   24 +++++-------------------
>  drivers/mmc/card/queue.c        |    4 ++--
>  drivers/s390/block/dasd.c       |    4 +---
>  drivers/s390/char/tape_block.c  |    3 +--
>  drivers/scsi/ide-scsi.c         |    8 ++++----
>  drivers/scsi/scsi_lib.c         |   13 ++-----------
>  24 files changed, 57 insertions(+), 130 deletions(-)
> 
> diff -rupN 02-sect2byte-macro/arch/arm/plat-omap/mailbox.c 03-normal-caller-change/arch/arm/plat-omap/mailbox.c
> --- 02-sect2byte-macro/arch/arm/plat-omap/mailbox.c	2007-08-13 00:25:24.000000000 -0400
> +++ 03-normal-caller-change/arch/arm/plat-omap/mailbox.c	2007-08-23 17:51:33.000000000 -0400
> @@ -117,7 +117,8 @@ static void mbox_tx_work(struct work_str
>  
> ...

Please Separate this patch to at least three patches.
1. Block layer - block/elevator.c block/ll_rw_blk.c
2. SCSI-ML - drivers/scsi/scsi_lib.c
3. Normal drivers, can also be separated into logical
   groups like scsi/block etc..

This is because these patches introduce conflicts
to lots of queued work I have, and if you separate
them it will help me with my giting. Also I think
that this is logical. Block-layer and scsi_lib are
not drivers, the Subject of the patch does not match.

Thanks
Boaz

  reply	other threads:[~2007-09-05  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 22:42 [PATCH 3/7] blk_end_request: changing "normal" drivers Kiyoshi Ueda
2007-09-05  7:45 ` Boaz Harrosh [this message]
2007-09-05 13:54   ` Kiyoshi Ueda

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=46DE5EB2.4050505@panasas.com \
    --to=bharrosh@panasas.com \
    --cc=dm-devel@redhat.com \
    --cc=grant.likely@secretlab.ca \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=jens.axboe@oracle.com \
    --cc=k-ueda@ct.jp.nec.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mike.miller@hp.com \
    /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