lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 05 Sep 2007 10:45:54 +0300
From:	Boaz Harrosh <bharrosh@...asas.com>
To:	Kiyoshi Ueda <k-ueda@...jp.nec.com>
CC:	linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
	linux-ide@...r.kernel.org, jens.axboe@...cle.com,
	mike.miller@...com, grant.likely@...retlab.ca, dm-devel@...hat.com,
	j-nomura@...jp.nec.com
Subject: Re: [PATCH 3/7] blk_end_request: changing "normal" drivers

On Sat, Sep 01 2007 at 1:42 +0300, Kiyoshi Ueda <k-ueda@...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@...jp.nec.com>
> Signed-off-by: Jun'ichi Nomura <j-nomura@...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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists