Re: [PATCH 27/28] blk_end_request: changing scsi mid-layer for bidi (take 3)

2007-12-05 Thread Kiyoshi Ueda
Hi Boaz, On Tue, 04 Dec 2007 15:39:12 +0200, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > On Sat, Dec 01 2007 at 1:35 +0200, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > > This patch converts bidi of scsi mid-layer to use blk_end_request(). > > > > rq->next_r

[PATCH 0/3] block: remove end_{queued|dequeued}_request()

2008-01-11 Thread Kiyoshi Ueda
27; branch of your linux-2.6-block.git. Please review and apply. Thanks, Kiyoshi Ueda -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

[PATCH 1/3] block: change virtio_blk to use blk-end-request

2008-01-11 Thread Kiyoshi Ueda
;t change. Cc: Rusty Russell <[EMAIL PROTECTED]> Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/virtio_blk.c | 10 +- 1 files changed, 5 insertions(+),

[PATCH 3/3] block: remove end_{queued|dequeued}_request()

2008-01-11 Thread Kiyoshi Ueda
This patch removes end_queued_request() and end_dequeued_request(), which are no longer used. As a results, users of __end_request() became only end_request(). So the actual code in __end_request() is moved to end_request() and __end_request() is removed. Signed-off-by: Kiyoshi Ueda <[EM

[PATCH 2/3] block: change elevator to use blk-end-request

2008-01-11 Thread Kiyoshi Ueda
empty(&rq->queuelist)) blkdev_dequeue_request(rq); In the case of elv_next_request(), blkdev_dequeue_request() has not been done and the queuelist isn't empty. So __blk_end_request() calls blkdev_dequeue_request() and the behavior of elv_next_request() doesn't change. Signed-o

Re: [PATCH 12/30] blk_end_request: changing ub (take 4)

2007-12-14 Thread Kiyoshi Ueda
ce a NEW problem to ub. I have investigated all code paths which call ub_end_rq() in ub.c, and confirmed that ub_end_rq() is always called with the queue lock held. (sc->lock is registered as a queue lock.) So there is no such race in the current ub code. You don't need to rewrite ub. Th

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Kiyoshi Ueda
2.6.24-git and send outputs? --- linus-git.orig/drivers/ide/ide-cd.c 2008-01-29 10:04:51.0 -0500 +++ linus-git/drivers/ide/ide-cd.c 2008-01-29 21:00:19.0 -0500 @@ -1723,7 +1723,7 @@ if ((stat & DRQ_STAT) == 0) { spin_lock_irqsave(&ide_lock, flags);

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Kiyoshi Ueda
that the rq still has a bio even after DRQ_STAT is cleared. The original ide-cd code was calling only end_that_request_last() there. So I thought that the rq should have no bio when DRQ_STAT is cleared, otherwise the bio leaks. Was my understanding wrong and is that correct behavior in ide-cd? T

Re: [dm-devel] Re: dm: bounce_pfn limit added

2007-10-31 Thread Kiyoshi Ueda
his. How about the case that other dm device is stacked on the dm device? (e.g. dm-linear over dm-multipath over i2o with bounce_pfn=64GB, and the multipath table is changed to i2o with bounce_pfn=1GB.) With this example, the patch propagates the restriction of i2o to dm-multipath

[QUESTION] cciss/cpqarray: can we use __end_that_request_first()?

2007-07-26 Thread Kiyoshi Ueda
the patch would be very helpful because I have no hardware for those device drivers. (I have done only build test.) If it causes problems, some tricky work may be needed to skip "__end_that_request_first" in "blk_end_request". Thanks, Kiyoshi Ueda Signed-off-by: Kiyoshi Ueda <[EMAIL PRO

[PATCH 0/7] blk_end_request: full I/O completion handler

2007-08-31 Thread Kiyoshi Ueda
patch-set is attached as appendix, although it still needs some work and isn't ready for review. It checks error of a request and retries the request using other paths if error is detected, before completing bios in the request. (See clone_end_request() in appendix#1.) Thanks, Kiyoshi Ueda -

[PATCH 2/7] blk_end_request: add blk_rq_size() macros

2007-08-31 Thread Kiyoshi Ueda
This patch adds macros to get the size of request in bytes. They are useful because blk_end_request() takes bytes as a completed I/O size instead of sectors. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- blkdev.h |9 +

[PATCH 3/7] blk_end_request: changing "normal" drivers

2007-08-31 Thread Kiyoshi Ueda
_blk_end_request() spin_unlock_irqsave() c) end_that_request_last() => __blk_end_request() Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- arch/arm/plat-omap/mailbox.c|9 ++--- arch/um/drivers/ubd_kern.c

[PATCH 4/7] blk_end_request: cciss/cpqarray/xsysace change

2007-08-31 Thread Kiyoshi Ueda
tion inbetween. So we can just follow the standard conversion rule (a) mentioned in the patch subject "[PATCH 3/7] blk_end_request: changing "normal" drivers". Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> -

[PATCH 5/7] blk_end_request: change ide-cd (cdrom_newpc_intr)

2007-08-31 Thread Kiyoshi Ueda
: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 47 +++-- drivers/ide/ide-cd.c | 78 ++--- include/linux/blkdev.h |3 + 3 files changed, 108

[PATCH 6/7] blk_end_request: remove/unexport end_that_request_*

2007-08-31 Thread Kiyoshi Ueda
This patch removes the following functions: o end_that_request_first() o end_that_request_chunk() and stops exporting the functions below: o end_that_request_last() Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> ---

[PATCH 7/7] blk_end_request: change rq->end_io to cover request completion as a whole

2007-08-31 Thread Kiyoshi Ueda
can be used as the callback. o Set the new end_io handler to rq->end_io. scsi_transport_sas.c:sas_smp_request() seems expecting the request is bsg and rq->end_io() is bsg_rq_end_io(). So changed to call it directly. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-

[APPENDIX PATCH 1/5] blk_end_request: request-based dm core

2007-08-31 Thread Kiyoshi Ueda
n't support it, # so please update userspace tools first when you try this. # (If kernel was updated first, you would hit kernel panic.) Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/ll_rw_blk.c |

[APPENDIX PATCH 2/5] blk_end_request: request-based dm-multipath

2007-08-31 Thread Kiyoshi Ueda
This patch converts dm-multipath target driver to request-based. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- dm-m

[APPENDIX PATCH 3/5] blk_end_request: dynamic load balancing for request-based dm-multipath

2007-08-31 Thread Kiyoshi Ueda
This patch adds dynamic load balancer to request-based dm-multipath. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/md/Makefile

[APPENDIX PATCH 4/5] blk_end_request: userspace device-mapper for request-based dm

2007-08-31 Thread Kiyoshi Ueda
ed dm device. If you use multipath-tools (another patch), multipath-tools should take care of all. This patch should be applied on top of CVS device-mapper-1.02.23 of 8/28/2007. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda &l

[PATCH 1/7] blk_end_request: add new request completion interface

2007-08-31 Thread Kiyoshi Ueda
add_disk_randomness() o blk_queue_end_tag() o blkdev_dequeue_request() These are called in the blk_end_request() as a part of generic request completion. So all device drivers become to call above functions. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nom

[APPENDIX PATCH 5/5] blk_end_request: userspace multipath-tools for request-based dm

2007-08-31 Thread Kiyoshi Ueda
This patch changes multipath-tools to use request-based dm-multipath. This patch should be applied on top of 8/28/2007 git multipath-tools. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Ju

Re: [PATCH 1/7] blk_end_request: add new request completion interface

2007-09-04 Thread Kiyoshi Ueda
nt blk_end_request(rq, uptodate, nr_bytes) { if (rq->end_io) return rq->end_io(rq, uptodate, nr_bytes, 1); if (end_that_request_first(rq, uptodate, nr_bytes)) } - Thanks, Kiyoshi Ue

Re: [PATCH 6/7] blk_end_request: remove/unexport end_that_request_*

2007-09-04 Thread Kiyoshi Ueda
_callback(), is added in the patch 5/7. (http://marc.info/?l=linux-kernel&m=118860027714753&w=2) Currently, only user of the interface is ide-cd (cdrom_newpc_intr()). It needs to call only end_that_request_first() too. With the patch 7/7, you can set your own handler in rq->end_io() t

Re: [PATCH 3/7] blk_end_request: changing "normal" drivers

2007-09-05 Thread Kiyoshi Ueda
Hi Benny, Thank you for the comments. On Wed, 05 Sep 2007 10:45:54 +0300, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > On Sat, Sep 01 2007 at 1:42 +0300, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > > arch/arm/plat-omap/mailbox.c|9 ++--- > > arch/um/dri

[QUESTION] xsysace: moving the end_that_request_last() call

2007-08-09 Thread Kiyoshi Ueda
_request_last(). There is no other transition to ACE_FSM_STATE_REQ_COMPLETE state. Thanks, Kiyoshi Ueda Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- 2.6.23-rc1-mm1/drivers/block/xsysace.c 2007-07-25 15:12:05.0

Re: [RFC PATCH 1/8] rqbased-dm: allow blk_get_request() to be called from interrupt context

2006-12-20 Thread Kiyoshi Ueda
_request(). Do you think creating another function like blk_get_request_nowait() is acceptable? Or request should not be allocated in q->request_fn() anyway? Do you have any other ideas? > -- > Jens Axboe Thanks, Kiyoshi Ueda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH 2/8] rqbased-dm: add block layer hook

2006-12-20 Thread Kiyoshi Ueda
Hi Jens, Sorry for the less explanation. On Wed, 20 Dec 2006 14:49:24 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Dec 19 2006, Kiyoshi Ueda wrote: > > This patch adds new "end_io_first" hook in __end_that_request_first() > > for request-based device-map

Re: [RFC PATCH 1/8] rqbased-dm: allow blk_get_request() to be called from interrupt context

2006-12-20 Thread Kiyoshi Ueda
ould be to set aside some requests that you can get > at without allocation (maintain a little freelist of manually allocated > requests), and retrieve a free one from there when inside request_fn. If > you run out, just bail out of request_fn and make sure to reinvoke it > when some of your pr

Re: [RFC PATCH 1/8] rqbased-dm: allow blk_get_request() to be called from interrupt context

2006-12-21 Thread Kiyoshi Ueda
Hi Jens, OK, I understand that. But I think that the block layer assumption (depending on "current") is not ideal. Anyway, thank you for the information. Thanks, Kiyoshi Ueda On Thu, 21 Dec 2006 08:53:05 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > On Wed, Dec 20 2006,

Re: [RFC PATCH 2/8] rqbased-dm: add block layer hook

2006-12-21 Thread Kiyoshi Ueda
) error = !uptodate ? -EIO : uptodate; . if (error && (req->cmd_flags & "NEW_FLAG")) return 0; /* Tell the driver to call end_that_request_last() */ total_types = bio_nbytes = 0; while ((bio = req->bi

Re: [dm-devel] Re: [RFC PATCH 2/8] rqbased-dm: add block layer hook

2006-12-22 Thread Kiyoshi Ueda
sets the new flag. SCSI layer of an underlying device calls __end_that_request_first() for a cloned request. And original bios which were issued to a dm device will be completed through the cloned request when no error occurs on the clone. When an error occurs, the completion process of the

[RFC PATCH 0/8] rqbased-dm: request-based device-mapper

2006-12-19 Thread Kiyoshi Ueda
- When the cloned bio is returned, end_io hook function is called and wait for finishing all splitted clones. (This is like current clone_endio() implementation.) So I think bio level splitting is better. What do you think about? ======

[RFC PATCH 1/8] rqbased-dm: allow blk_get_request() to be called from interrupt context

2006-12-19 Thread Kiyoshi Ueda
. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> diff -rupN 2.6.19.1/block/ll_rw_blk.c 1-blk-get-request-irqrestore/block/ll_rw_blk.c --- 2.6.19.1/block/ll_rw_blk.c 2006-12-11 14:32:53.0 -0500 +++ 1-blk-get-request

[RFC PATCH 2/8] rqbased-dm: add block layer hook

2006-12-19 Thread Kiyoshi Ueda
This patch adds new "end_io_first" hook in __end_that_request_first() for request-based device-mapper. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> diff -rupN 1-blk-get-request-irqrestore/block/ll_rw_blk.

[RFC PATCH 3/8] rqbased-dm: dm_create()/alloc_dev() interface change

2006-12-19 Thread Kiyoshi Ueda
This patch changes the interface of dm_create() and alloc_dev() so that the creator can specify whether the created device should be hooked at bio-level or request-level. Actual implementation of request-based initialization is done in a separate patch. Signed-off-by: Kiyoshi Ueda <[EM

[RFC PATCH 4/8] rqbased-dm: add ioctl for request-based device creation

2006-12-19 Thread Kiyoshi Ueda
This patch adds DM_REQUEST_BASE_FLAG ioctl for mapped device creation. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> diff -rupN 3-create-iface-change/drivers/md/dm.h 4-add-ioctl/drivers/md/dm.h --- 3-create-iface-chang

[RFC PATCH 5/8] rqbased-dm: add device initialization code

2006-12-19 Thread Kiyoshi Ueda
27;t needed. So struct dm_io and struct target_io in bio-based dm are merged into struct rq_target_io, and it is attached to each clone. As a result, md->io_pool isn't used in request-based dm. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL

[RFC PATCH 6/8] rqbased-dm: add new target functions

2006-12-19 Thread Kiyoshi Ueda
rq_end_io if needed. - rq_end_io : Free target internal data. Also, struct dm_map_info is added to pass information between dm_prep_map_fn() and dm_map_request_fn(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[E

[RFC PATCH 7/8] rqbased-dm: core code

2006-12-19 Thread Kiyoshi Ueda
Stop md->queue after flush at suspend time. Start md->queue at resume time. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> diff -rupN 6-add-target-func/drivers/md/dm.c 7-rqbase-dm-core/drivers/md/dm.c --- 6-add-target-

[RFC PATCH 8/8] rqbased-dm: change dm-multipath from bio-based to request-based

2006-12-19 Thread Kiyoshi Ueda
ath is determined there. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> diff -rupN 7-rqbase-dm-core/drivers/md/dm-hw-handler.h 8-rqbase-dm-mpath/drivers/md/dm-hw-handler.h --- 7-rqbase-dm-core/drivers/md/dm-hw-handler.h 2006-1

[RFC PATCH APPENDIX] rqbased-dm: add API to libdevmapper

2006-12-19 Thread Kiyoshi Ueda
This patch adds the feature to use the kernel request-based dm feature to the device-mapper user-space tool. For dmsetup: # dmsetup --rqbase create For library users: int dm_task_request_base(struct dm_task *dmt); This patch is for device-mapper-1.02.13. diff -rupN dm-1.02.13/dmsetup/

[RFC PATCH 0/3] blk_end_request: full I/O completion handler

2007-01-10 Thread Kiyoshi Ueda
. (See cdrom_newpc_intr() in PATCH#3) If this is acceptable approach, I will break down, clean up and repost the patch. Thanks, Kiyoshi Ueda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC PATCH 1/3] blk_end_request: helper interface for end_that_request_* callers

2007-01-10 Thread Kiyoshi Ueda
Changing the role of ->end_io() of struct request to a full I/O completion handler. blk_end_request() is added as a helper function to call the full completion handler from drivers and others. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <

[RFC PATCH 2/3] blk_end_request: full completion handler implementation

2007-01-10 Thread Kiyoshi Ueda
Adding blk_end_io() as a full completion handler for I/Os other than sync/barrier. Completion handlers for sync/barrier I/Os are also updated to full completion handler. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> ---

[RFC PATCH 3/3] blk_end_request: caller change

2007-01-10 Thread Kiyoshi Ueda
This patch replaces caller's end_that_request_* to blk_end_request. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/elevator.c|3 - block/ll_rw_blk.c | 26 +++-

Re: [RFC PATCH 3/3] blk_end_request: caller change

2007-01-11 Thread Kiyoshi Ueda
right horrible. The callback should be correctly > typed, pass down a request pointer ALWAYS. OK. I think everything such callbacks need can be obtained through struct request. (e.g. ide_drive_t can get by rq->q->queuedata and ide_lock can get by rq->q->queue_lock.) So I'll cha

[PATCH 00/27] blk_end_request: full I/O completion handler (take 2)

2007-09-11 Thread Kiyoshi Ueda
w to hook all parts of request completion. Existing users of rq->end_io() must be changed to do all parts of request completion. Thanks, Kiyoshi Ueda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 02/27] blk_end_request: add blk_rq_size() functions (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch adds functions to get the size of request in bytes. They are useful because blk_end_request() takes bytes as a completed I/O size instead of sectors. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- include/linu

[PATCH 03/27] blk_end_request: changing block layer core (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts core parts of block layer to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) diff -rupN

[PATCH 01/27] blk_end_request: add new request completion interface (take 2)

2007-09-11 Thread Kiyoshi Ueda
sk_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 <[EM

[PATCH 04/27] blk_end_request: changing arm (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts arm to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- arch/arm/plat-omap/mailbox.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff -rupN 03-blkcore-calle

[PATCH 05/27] blk_end_request: changing um (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts um to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c | 10 +- 1 files changed, 1 insertion(+), 9 deletions(-) diff -rupN 04-arm-caller-chang

[PATCH 06/27] blk_end_request: changing DAC960 (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts DAC960 to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/DAC960.c |5 + 1 files changed, 1 insertion(+), 4 deletions(-) diff -rupN 05-um-caller-change/drive

[PATCH 07/27] blk_end_request: changing floppy (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts floppy to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/floppy.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff -rupN 06-dac960-caller-cha

[PATCH 08/27] blk_end_request: changing lguest (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts lguest to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/lguest_blk.c |5 + 1 files changed, 1 insertion(+), 4 deletions(-) diff -rupN 07-floppy-caller-cha

[PATCH 09/27] blk_end_request: changing nbd (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts nbd to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/nbd.c |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -rupN 08-lguest-caller-change/driver

[PATCH 10/27] blk_end_request: changing ps3disk (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts ps3disk to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/ps3disk.c |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) diff -rupN 09-nbd-caller-cha

[PATCH 11/27] blk_end_request: changing sunvdc (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts sunvdc to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/sunvdc.c |5 + 1 files changed, 1 insertion(+), 4 deletions(-) diff -rupN 10-ps3disk-caller-cha

[PATCH 12/27] blk_end_request: changing sx8 (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts sx8 to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/sx8.c |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -rupN 11-sunvdc-caller-change/driver

[PATCH 13/27] blk_end_request: changing ub (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts ub to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/ub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -rupN 12-sx8-caller-change/drivers/

[PATCH 14/27] blk_end_request: changing viodasd (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts viodasd to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/viodasd.c |5 + 1 files changed, 1 insertion(+), 4 deletions(-) diff -rupN 13-ub-caller-cha

[PATCH 15/27] blk_end_request: changing xen-blkfront (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts xen-blkfront to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/xen-blkfront.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff -rupN 14-viod

[PATCH 16/27] blk_end_request: changing viocd (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts viocd to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/cdrom/viocd.c |5 + 1 files changed, 1 insertion(+), 4 deletions(-) diff -rupN 15-xen-caller-change/driv

[PATCH 17/27] blk_end_request: changing i2o_block (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts i2o_block to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/message/i2o/i2o_block.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff -rupN 16-vi

[PATCH 18/27] blk_end_request: changing mmc (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts mmc to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/mmc/card/block.c | 24 +--- drivers/mmc/card/queue.c |4 ++-- 2 files changed, 7 insertions

[PATCH 19/27] blk_end_request: changing s390 (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts s390 to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/s390/block/dasd.c |4 +--- drivers/s390/char/tape_block.c |3 +-- 2 files changed, 2 insertions(+), 5 d

[PATCH 20/27] blk_end_request: changing scsi (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts scsi mid-layer to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/scsi/scsi_lib.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff -rupN 19-s

[PATCH 21/27] blk_end_request: changing ide-scsi (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts ide-scsi to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/scsi/ide-scsi.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff -rupN 20-scsi-mid-call

[PATCH 22/27] blk_end_request: changing xsysace (take 2)

2007-09-11 Thread Kiyoshi Ueda
Q_COMPLETE, respectively.) However, those states are consecutive and without any interruption inbetween. So we can just follow the standard conversion rule (b) mentioned in the patch subject "[PATCH 01/27] blk_end_request: add new request completion interface". Signed-off-by: Kiyoshi Ue

[PATCH 24/27] blk_end_request: changing cpqarray (take 2)

2007-09-11 Thread Kiyoshi Ueda
add new request completion interface". Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/cpqarray.c | 28 ++-- 1 files changed, 2 insertions(+), 26 deletions(-) diff -rupN 23-cciss-calle

[PATCH 23/27] blk_end_request: changing cciss (take 2)

2007-09-11 Thread Kiyoshi Ueda
uest completion interface". Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/block/cciss.c | 26 +++--- 1 files changed, 3 insertions(+), 23 deletions(-) diff -rupN 22-xsysace-caller-change/drivers/

[PATCH 25/27] blk_end_request: changing ide normal caller (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch converts "normal" parts of ide to use blk_end_request(). Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/ide/ide-cd.c |6 +++--- drivers/ide/ide-io.c | 22 +++--- 2 files ch

[PATCH 27/27] blk_end_request: remove/unexport end_that_request_* (take 2)

2007-09-11 Thread Kiyoshi Ueda
This patch removes the following functions: o end_that_request_first() o end_that_request_chunk() and stops exporting the functions below: o end_that_request_last() Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> ---

[PATCH 26/27] blk_end_request: changing ide-cd (take 2)

2007-09-11 Thread Kiyoshi Ueda
: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 54 + drivers/ide/ide-cd.c | 78 ++-- include/linux/blkdev.h |3 + 3 files change

<    1   2