| From | Subject | Date |
|---|---|---|
| Eric Sandeen | [PATCH] ecryptfs: initialize new auth_tokens before teardown
ecryptfs_destroy_mount_crypt_stat() checks whether each
auth_tok->global_auth_tok_key is nonzero and if so puts that
key. However, in some early mount error paths nothing has initialized
the pointer, and we try to key_put() garbage. Running the bad cipher
tests in the testsuite exposes this, and it's happy with the following
change.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
Index: linux/fs/ecryptfs/keystore.c
===========================================================...
| Dec 11, 7:52 pm 2007 |
| Kok, Auke | Re: + e1000e-make-e1000e-default-to-the-same-kconfig-setting...
Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
Jeff, can you apply to #upstream?
Auke
--
| Dec 11, 7:31 pm 2007 |
| Rene Herman | [RFT] Port 0x80 I/O speed
Good day.
Would some people on x86 (both 32 and 64) be kind enough to compile and run
the attached program? This is about testing how long I/O port access to port
0x80 takes. It measures in CPU cycles so CPU speed is crucial in reporting.
Posted a previous incarnation of this before, buried in the outb 0x80 thread
which had a serialising problem. This one should as far as I can see measure
the right thing though. Please yell if you disagree...
For me, on a Duron 1300 (AMD756 chipset) I have...
| Dec 11, 7:31 pm 2007 |
| Nigel Cunningham | Re: [RFT] Port 0x80 I/O speed
(AMD 1.8GHz Turion, running at 800MHz. ATI RS480 - Mitac 8350 mobo)
nigel@home:~/Downloads$ gcc port80.c -o port80
nigel@home:~/Downloads$ sudo ./port80
cycles: out 1235, in 1207
nigel@home:~/Downloads$ sudo ./port80
cycles: out 1238, in 1205
nigel@home:~/Downloads$ sudo ./port80
cycles: out 1237, in 1209
nigel@home:~/Downloads$ gcc -O2 port80.c -o port80
nigel@home:~/Downloads$ sudo ./port80
cycles: out 1844674407370794, in 1844674407369408
nigel@home:~/Downloads$ sudo ./port80
cycles: out ...
| Dec 11, 7:55 pm 2007 |
| Alejandro Riveira | Re: [RFT] Port 0x80 I/O speed
El Wed, 12 Dec 2007 00:31:18 +0100
On my AMD 3800 X2 (2000MHz) ULi M1697 2.6.24-rc5 i get:
cycles: out 1844674407370808, in 1844674407369087
It is not constant but variations are not significant afaics
--
| Dec 11, 7:43 pm 2007 |
| Rene Herman | Re: [RFT] Port 0x80 I/O speed
Eh, oh, I guess you need to compile as a 32-bit binary...
Rene.
--
| Dec 11, 7:51 pm 2007 |
| Maxim Levitsky | Re: [RFT] Port 0x80 I/O speed
Sure,
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1767, in 1147
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1774, in 1148
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1769, in 1150
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1769, in 1150
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1777, in 1150
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1766, in 1149
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1768, in 1148
maxim@MAIN:~/tmp$ sudo ./port800
cycles: out 1765, in 1147
Core 2 ...
| Dec 11, 7:40 pm 2007 |
| Rene Herman | Re: [RFT] Port 0x80 I/O speed
1.8 Ghz?
Rene.
--
| Dec 11, 7:44 pm 2007 |
| Oleksandr Natalenko | Re: Lnux 2.6.24-rc5
And... Linus, why do yo make mistakes in headers of announces :)? Not first
time.
--
| Dec 11, 7:23 pm 2007 |
| Kevin Hilman | [PATCH] Generic IRQ: Add unlocked version of set_irq_handler()
Add unlocked version for use by irq_chip.set_type handlers which may
wish to change handler to level or edge handler when IRQ type is
changed.
The normal set_irq_handler() call cannot be used because it tries to
take irq_desc.lock which is already held when the irq_chip.set_type
hook is called.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
include/linux/irq.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
...
| Dec 11, 6:54 pm 2007 |
| Kiyoshi Ueda | [PATCH 30/30] blk_end_request: cleanup of request completion...
This patch merges complete_request() into end_that_request_last()
for cleanup.
complete_request() was introduced by earlier part of this patch-set,
not to break the existing users of end_that_request_last().
Since all users are converted to blk_end_request interfaces and
end_that_request_last() is no longer exported, the code can be
merged to end_that_request_last().
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi ...
| Dec 11, 6:53 pm 2007 |
| Kiyoshi Ueda | [PATCH 28/30] blk_end_request: remove/unexport end_that_requ...
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()
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
block/ll_rw_blk.c | 61 ++++++++++++-------------------------------------
include/linux/blkdev.h | 13 ++++------
2 files changed, 20 insertions(+), ...
| Dec 11, 6:52 pm 2007 |
| Kiyoshi Ueda | [PATCH 29/30] blk_end_request: cleanup 'uptodate' related co...
This patch converts 'uptodate' arguments of no longer exported
interfaces, end_that_request_first/last, to 'error', and removes
internal conversions for it in blk_end_request interfaces.
Also, this patch removes no longer needed end_io_error().
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
block/ll_rw_blk.c | 56 +++++++------------------------------------------
inc...
| Dec 11, 6:53 pm 2007 |
| Kiyoshi Ueda | [PATCH 27/30] blk_end_request: changing scsi (take 4)
This patch converts scsi mid-layer to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, scsi_end_request(),
is changed.
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/scsi/scsi_lib.c | 31 +++++++++++--------------------
1...
| Dec 11, 6:52 pm 2007 |
| Kiyoshi Ueda | [PATCH 26/30] blk_end_request: add bidi completion interface...
This patch adds a variant of the interface, blk_end_bidi_request(),
which completes a bidi request.
Bidi request must be completed as a whole, both rq and rq->next_rq
at once. So the interface has 2 arguments for completion size.
As for ->end_io, only rq->end_io is called (rq->next_rq->end_io is not
called). So if special completion handling is needed, the handler
must be set to rq->end_io.
And the handler must take care of freeing next_rq too, since
the interface doesn't car...
| Dec 11, 6:51 pm 2007 |
| Kiyoshi Ueda | [PATCH 24/30] blk_end_request: add callback feature (take 4)
This patch adds a variant of the interface, blk_end_request_callback(),
which has driver callback feature.
Drivers may need to do special works between end_that_request_first()
and end_that_request_last().
For such drivers, blk_end_request_callback() allows it to pass
a callback function which is called between end_that_request_first()
and end_that_request_last().
This interface is only for fallback of other blk_end_request interfaces.
Drivers should avoid their tricky behaviors and use other in...
| Dec 11, 6:51 pm 2007 |
| Kiyoshi Ueda | [PATCH 25/30] blk_end_request: changing ide-cd (take 4)
This patch converts ide-cd (cdrom_newpc_intr()) to use blk_end_request
interfaces. Related 'uptodate' arguments are converted to 'error'.
In PIO mode, ide-cd (cdrom_newpc_intr()) needs to defer
end_that_request_last() until the device clears DRQ_STAT and raises
an interrupt after end_that_request_first().
So blk_end_request() has to return without completing request
even if no leftover in the request.
ide-cd uses blk_end_request_callback() and a dummy callback function,
which just returns value...
| Dec 11, 6:51 pm 2007 |
| Kiyoshi Ueda | [PATCH 22/30] blk_end_request: changing cpqarray (take 4)
This patch converts cpqarray to use blk_end_request interfaces.
Related 'ok' arguments are converted to 'error'.
cpqarray is a little bit different from "normal" drivers.
cpqarray directly calls bio_endio() and disk_stat_add()
when completing request. But those can be replaced with
__end_that_request_first().
After the replacement, request completion procedures of
those drivers become like the following:
o end_that_request_first()
o add_disk_randomness()
o end_that_request_last()
T...
| Dec 11, 6:50 pm 2007 |
| Kiyoshi Ueda | [PATCH 23/30] blk_end_request: changing ide normal caller (t...
This patch converts "normal" parts of ide to use blk_end_request
interfaces. Related 'uptodate' arguments are converted to 'error'.
The conversion of 'uptodate' to 'error' is done only for the internal
function, __ide_end_request().
ide_end_request() was not changed since it's exported and used
by many ide drivers.
With this patch, blkdev_dequeue_request() in __ide_end_request() is
moved to blk_end_request, since blk_end_request takes care of
dequeueing request like below:
if (!list_empty...
| Dec 11, 6:50 pm 2007 |
| Kiyoshi Ueda | [PATCH 20/30] blk_end_request: changing xsysace (take 4)
This patch converts xsysace to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
xsysace is a little bit different from "normal" drivers.
xsysace driver has a state machine in it.
It calls end_that_request_first() and end_that_request_last()
from different states. (ACE_FSM_STATE_REQ_TRANSFER and
ACE_FSM_STATE_REQ_COMPLETE, respectively.)
However, those states are consecutive and without any interruption
inbetween.
So we can just follow the standard conversio...
| Dec 11, 6:49 pm 2007 |
| Grant Likely | Re: [PATCH 20/30] blk_end_request: changing xsysace (take 4)
Acked-by: Grant Likely <grant.likely@secretlab.ca>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
--
| Dec 11, 6:59 pm 2007 |
| Kiyoshi Ueda | [PATCH 21/30] blk_end_request: changing cciss (take 4)
This patch converts cciss to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
cciss is a little bit different from "normal" drivers.
cciss directly calls bio_endio() and disk_stat_add()
when completing request. But those can be replaced with
__end_that_request_first().
After the replacement, request completion procedures of
those drivers become like the following:
o end_that_request_first()
o add_disk_randomness()
o end_that_request_last()
This...
| Dec 11, 6:50 pm 2007 |
| Kiyoshi Ueda | [PATCH 19/30] blk_end_request: changing ide-scsi (take 4)
This patch converts ide-scsi to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/scsi/ide-scsi.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: 2.6.24-rc4/drivers/scsi/ide-scsi.c
===================================================================...
| Dec 11, 6:49 pm 2007 |
| Kiyoshi Ueda | [PATCH 18/30] blk_end_request: changing s390 (take 4)
This patch converts s390 to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interfaces of internal functions below are changed:
o dasd_end_request
o tapeblock_end_request
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/s39...
| Dec 11, 6:48 pm 2007 |
| Kiyoshi Ueda | [PATCH 15/30] blk_end_request: changing viocd (take 4)
This patch converts viocd to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, viocd_end_request(),
is changed.
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/cdrom/viocd.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
Index: 2.6.24-rc4/drivers/cdr...
| Dec 11, 6:47 pm 2007 |
| Kiyoshi Ueda | [PATCH 16/30] blk_end_request: changing i2o_block (take 4)
This patch converts i2o_block to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, i2o_block_end_request(),
is changed.
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/message/i2o/i2o_block.c | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
...
| Dec 11, 6:48 pm 2007 |
| Kiyoshi Ueda | [PATCH 17/30] blk_end_request: changing mmc (take 4)
This patch converts mmc to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Pierre Ossman <drzeus-mmc@drzeus.cx>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/mmc/card/block.c | 24 +++++-------------------
drivers/mmc/card/queue.c | 4 ++--
2 files changed, 7 insertions(+), 21 deletions(-)
Index: 2.6.24-rc4/drivers/mmc/card/block.c
========================...
| Dec 11, 6:48 pm 2007 |
| Kiyoshi Ueda | [PATCH 14/30] blk_end_request: changing xen-blkfront (take 4)
This patch converts xen-blkfront to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/xen-blkfront.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Index: 2.6.24-rc4/drivers/block/xen-blkfront.c
=======================================================...
| Dec 11, 6:47 pm 2007 |
| Andre Majorel | readlink(), the pause that refreshes
Kernel 2.6.22.14. Create a tree of directories containing tens or
hundreds of thousands of symlinks and run
find linkfarm | program-that-readlinks-the-file-names-in-its-stdin
Memory usage will grow and grow until the system starts to swap,
after which you are SOL. The combined effects of thrashing and the
OOM killer will render your system catatonic for a long time and
if it finally recovers, you probably won't be able to log in. With
1 GB of RAM, the tipping point is somewhere above 700,000
s...
| Dec 11, 6:16 pm 2007 |
| Kiyoshi Ueda | [PATCH 11/30] blk_end_request: changing sx8 (take 4)
This patch converts sx8 to use blk_end_request interfaces.
Related 'uptodate' and 'is_ok' arguments are converted to 'error'.
As a result, the interfaces of internal functions below are changed.
o carm_end_request_queued
o carm_end_rq
o carm_handle_array_info
o carm_handle_scan_chan
o carm_handle_generic
o carm_handle_rw
The 'is_ok' is set at only one place in carm_handle_resp() below:
int is_ok = (status == RMSG_OK);
And the value is propagated to all functions above, and no...
| Dec 11, 6:46 pm 2007 |
| Kiyoshi Ueda | [PATCH 13/30] blk_end_request: changing viodasd (take 4)
This patch converts viodasd to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, viodasd_end_request(),
is changed.
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/viodasd.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
Index: 2.6.24-rc4/drive...
| Dec 11, 6:47 pm 2007 |
| Kiyoshi Ueda | [PATCH 12/30] blk_end_request: changing ub (take 4)
This patch converts ub to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/ub.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Index: 2.6.24-rc4/drivers/block/ub.c
===================================================================
--- 2.6.24-rc4.orig/drive...
| Dec 11, 6:46 pm 2007 |
| Pete Zaitcev | Re: [PATCH 12/30] blk_end_request: changing ub (take 4)
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
I follow the discussion, actually, and wanted to ask someone to look
closer if it's appropriate to use __blk_end_request() here.
My understanding was, blk_end_request() is the same thing, only
takes the queue lock. But then, should I refactor ub so that it
calls __blk_end_request if request function ends with an error
and blk_end_request if the end-of-IO even is processed? If not,
and the above is sufficient, why have blk_end_request at all?
--...
| Dec 11, 7:48 pm 2007 |
| Kiyoshi Ueda | [PATCH 09/30] blk_end_request: changing ps3disk (take 4)
This patch converts ps3disk to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Geoff Levand <geoffrey.levand@am.sony.com>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/ps3disk.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
Index: 2.6.24-rc4/drivers/block/ps3disk.c
=====...
| Dec 11, 6:44 pm 2007 |
| Kiyoshi Ueda | [PATCH 10/30] blk_end_request: changing sunvdc (take 4)
This patch converts sunvdc to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, vdc_end_request(),
is changed.
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/sunvdc.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
Index: 2.6.24-rc4/drivers/block/sun...
| Dec 11, 6:45 pm 2007 |
| Kiyoshi Ueda | [PATCH 08/30] blk_end_request: changing nbd (take 4)
This patch converts nbd to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/nbd.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
Index: 2.6.24-rc4/drivers/block/nbd.c
===================================================================
--- 2.6.24-rc4....
| Dec 11, 6:44 pm 2007 |
| Kiyoshi Ueda | [PATCH 06/30] blk_end_request: changing DAC960 (take 4)
This patch converts DAC960 to use blk_end_request interfaces.
Related 'UpToDate' arguments are converted to 'Error'.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/DAC960.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
Index: 2.6.24-rc4/drivers/block/DAC960.c
===================================================================
--- 2.6.24-rc4.orig/drivers/block/DAC960.c
+++ 2.6.24-rc...
| Dec 11, 6:43 pm 2007 |
| Kiyoshi Ueda | [PATCH 05/30] blk_end_request: changing um (take 4)
This patch converts um to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, ubd_end_request(),
is changed.
Cc: Jeff Dike <jdike@karaya.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
arch/um/drivers/ubd_kern.c | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
Index: 2.6.24-rc4/arch/um/drivers/ubd_...
| Dec 11, 6:42 pm 2007 |
| Kiyoshi Ueda | [PATCH 00/30] blk_end_request: full I/O completion handler (...
Hi Jens, Boaz,
The following is the updated patch-set for blk_end_request().
I have done some interface/implementation changes based on
feedbacks/discussions since the previous version.
(Although this patch-set was made on top of 2.6.24-rc4, I confirmed
it can be applied to 2.6.24-rc5, too. Also, I confirmed it has
no build error on my IA64 box.)
As for patches without Cc tag, I couldn't find the maintainer
related to the patch.
Patch 27 through patch 30 conflict with Boaz's scsi bidi patc...
| Dec 11, 6:39 pm 2007 |
| Kiyoshi Ueda | [PATCH 07/30] blk_end_request: changing floppy (take 4)
This patch converts floppy to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.
As a result, the interface of internal function, floppy_end_request(),
is changed.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
drivers/block/floppy.c | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
Index: 2.6.24-rc4/drivers/block/floppy.c
==================================...
| Dec 11, 6:43 pm 2007 |
| Kiyoshi Ueda | [PATCH 03/30] blk_end_request: changing block layer core (ta...
This patch converts core parts of block layer to use blk_end_request
interfaces. Related 'uptodate' arguments are converted to 'error'.
'dequeue' argument was originally introduced for end_dequeued_request(),
where no attempt should be made to dequeue the request as it's already
dequeued.
However, it's not necessary as it can be checked with
list_empty(&rq->queuelist).
(Dequeued request has empty list and queued request doesn't.)
And it has been done in blk_end_request interfaces.
As a ...
| Dec 11, 6:41 pm 2007 |
| Kiyoshi Ueda | [PATCH 04/30] blk_end_request: changing arm (take 4)
This patch converts arm's OMAP mailbox driver to use
blk_end_request interfaces.
If the original code was converted literally, blk_end_request would
be called with '-EIO' because end_that_request_last() were called
with '0' (i.e. failure).
But I think these '0's are bugs in the original code because it's
unlikely that all requests are treated as failure.
(The bugs should have no effect unless these requests have an end_io
callback.)
So I changed them to pass '0' (i.e. success) to blk_end_reque...
| Dec 11, 6:42 pm 2007 |
| Kiyoshi Ueda | [PATCH 02/30] blk_end_request: add/export functions to get r...
This patch adds/exports functions to get the size of request in bytes.
They are useful because blk_end_request interfaces take bytes
as a completed I/O size instead of sectors.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
block/ll_rw_blk.c | 25 ++++++++++++++++++++++---
include/linux/blkdev.h | 8 ++++++++
2 files changed, 30 insertions(+), 3 deletions(-)
Index: 2.6.24-rc4/include/linux/blkdev.h
=========...
| Dec 11, 6:41 pm 2007 |
| Kiyoshi Ueda | [PATCH 01/30] blk_end_request: add new request completion in...
This patch adds 2 new interfaces for request completion:
o blk_end_request() : called without queue lock
o __blk_end_request() : called with queue lock held
blk_end_request takes 'error' as an argument instead of 'uptodate',
which current end_that_request_* take.
The meanings of values are below and the value is used when bio is
completed.
0 : success
< 0 : error
Some device drivers call some generic functions below between
end_that_request_{first/chunk} and end_that_request_las...
| Dec 11, 6:40 pm 2007 |
| Adrian Bunk | [2.6 patch] drivers/scsi/aic94xx/ section fixes
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
<-- snip -->
...
WARNING: vmlinux.o(.init.text.20+0xb3061): Section mismatch: reference to .exit.text:asd_unmap_ha (between 'asd_pci_probe' and 'ips_insert_device')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/scsi/aic94xx/aic94xx_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
c9292b20fa9402084f207e7efa50fcd4150001a4
diff --git a/drivers/...
| Dec 11, 6:24 pm 2007 |
| Adrian Bunk | [2.6 patch] drivers/net/sis190.c section fix
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
<-- snip -->
...
WARNING: vmlinux.o(.init.text.20+0x4cb25): Section mismatch: reference to .exit.text:sis190_mii_remove (between 'sis190_init_one' and 'read_eeprom')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
29fae057ba15a552a7cad1e731d3238d567032ba
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index 7200883..49f767b 100644
--- a/drivers/net/sis190.c
+++ b/dri...
| Dec 11, 6:23 pm 2007 |
| Adrian Bunk | [2.6 patch] drivers/scsi/advansys.c section fix
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
<-- snip -->
...
WARNING: vmlinux.o(.exit.text+0xcf8a): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'exit_this_scsi_driver')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
e81cac11f9efe882a89708c298fa6268375b0221
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 9dd3952..38a1ee2 100644
--- a/drivers/scsi/ad...
| Dec 11, 6:23 pm 2007 |
| Randy Dunlap | Re: [2.6 patch] drivers/scsi/advansys.c section fix
http://marc.info/?l=linux-scsi&m=119368247502255
Acked-by me.
---
~Randy
Features and documentation: http://lwn.net/Articles/260136/
--
| Dec 11, 6:35 pm 2007 |
| Adrian Bunk | [2.6 patch] drivers/media/video/ivtv/ section fix
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
<-- snip -->
...
WARNING: vmlinux.o(.text+0x94f07b): Section mismatch: reference to .init.text.20:init_ivtv_i2c (between 'ivtv_process_eeprom' and 'ivtv_init_on_first_open')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/media/video/ivtv/ivtv-i2c.c | 2 +-
drivers/media/video/ivtv/ivtv-i2c.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
e09578fa0d...
| Dec 11, 6:23 pm 2007 |
| Adrian Bunk | [2.6 patch] idle_regs() must be __cpuinit
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n,
CONFIG_HOTPLUG_CPU=y:
<-- snip -->
...
WARNING: vmlinux.o(.text+0x399a6): Section mismatch: reference to .init.text.5:idle_regs (between 'fork_idle' and 'get_task_mm')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/ia64/kernel/smpboot.c | 2 +-
arch/x86/kernel/cpu/common.c | 2 +-
kernel/fork.c | 2 +-
3 files changed, 3 insertions(+), 3 dele...
| Dec 11, 6:22 pm 2007 |
| previous day | today | next day |
|---|---|---|
| December 10, 2007 | December 11, 2007 | December 12, 2007 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Paweł Staszewski | iproute2 action/policer question |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
