login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
26
Re: regression: CD burning (k3b) went broke
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: regression: CD burning (k3b) went broke
Date: Tuesday, February 26, 2008 - 4:08 pm
On Tue, 26 Feb 2008 14:36:43 +0100 Mike Galbraith <efault@gmx.de> wrote:
quoted text
> > On Tue, 2008-02-26 at 10:48 +0100, Mike Galbraith wrote: > > Greetings, > > > > I straced both a good and a bad kernel (good being .git with attached > > revert patch applied) and filtered/diffed/merged the output. Scroll > > down to "HERE" to see the problem (resid). > > > > I'm poking around, but not having much luck.
cc's added. I'm told this is part of "Tejun's DMA drain handling".
quoted text
> Seems the problem is data_len changes, but raw_data_len doesn't. I've > not the foggiest IO-land clue, but k3b works again, so the below may > have some diagnostic value.
So this change fixes a bug? Can we have a recap of how it does this?
quoted text
> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index ba21d97..7a6f784 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -871,7 +871,7 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) > scsi_end_bidi_request(cmd); > return; > } > - req->data_len = scsi_get_resid(cmd); > + req->data_len = req->raw_data_len = scsi_get_resid(cmd); > } > > BUG_ON(blk_bidi_rq(req)); /* bidi not support for !blk_pc_request yet */ >
Thanks. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
regression: CD burning (k3b) went broke
, Mike Galbraith
, (Thu Feb 21, 1:42 am)
Re: regression: CD burning (k3b) went broke
, Jens Axboe
, (Fri Feb 22, 12:32 am)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Sat Feb 23, 12:42 am)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Sun Feb 24, 12:54 am)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Tue Feb 26, 2:48 am)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Tue Feb 26, 6:36 am)
Re: regression: CD burning (k3b) went broke
, Andrew Morton
, (Tue Feb 26, 4:08 pm)
Re: regression: CD burning (k3b) went broke
, Jeff Garzik
, (Tue Feb 26, 5:46 pm)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Tue Feb 26, 7:24 pm)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Tue Feb 26, 7:58 pm)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Tue Feb 26, 11:00 pm)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Wed Feb 27, 12:07 am)
Re: regression: CD burning (k3b) went broke
, Tejun Heo
, (Thu Feb 28, 12:43 am)
Re: regression: CD burning (k3b) went broke
, Mike Galbraith
, (Thu Feb 28, 1:20 am)
[PATCH] block: fix residual byte count handling
, Tejun Heo
, (Thu Feb 28, 1:50 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Thu Feb 28, 8:35 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Thu Feb 28, 8:46 am)
Re: [PATCH] block: fix residual byte count handling
, James Bottomley
, (Fri Feb 29, 9:47 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Fri Feb 29, 1:11 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Fri Feb 29, 11:17 pm)
Re: [PATCH] block: fix residual byte count handling
, James Bottomley
, (Sat Mar 1, 8:19 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Sun Mar 2, 7:52 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Christie
, (Sun Mar 2, 11:46 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Sun Mar 2, 7:40 pm)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Sun Mar 2, 8:27 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Sun Mar 2, 8:59 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Sun Mar 2, 9:09 pm)
[PATCH 1/2] block: fix residual byte count handling
, Tejun Heo
, (Sun Mar 2, 11:08 pm)
[PATCH] block: separate out padding from alignment
, Tejun Heo
, (Sun Mar 2, 11:10 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 1:26 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 2:21 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 5:17 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 6:38 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 6:50 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 6:55 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 7:01 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 7:22 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 7:52 am)
Re: [PATCH] block: separate out padding from alignment
, James Bottomley
, (Mon Mar 3, 11:27 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 3:44 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Mon Mar 3, 7:11 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Mon Mar 3, 7:32 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 1:53 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 1:59 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 2:06 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 2:22 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 2:29 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 2:30 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 2:35 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 2:40 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 2:46 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 5:37 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 5:39 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 5:40 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 5:43 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 5:45 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 5:58 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 6:03 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 6:30 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 6:50 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 7:25 am)
Re: [PATCH] block: fix residual byte count handling
, James Bottomley
, (Tue Mar 4, 9:04 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 9:17 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 9:42 am)
Re: [PATCH] block: fix residual byte count handling
, walt
, (Tue Mar 4, 10:34 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 10:59 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 11:17 am)
Re: [PATCH] block: fix residual byte count handling
, Boaz Harrosh
, (Tue Mar 4, 11:26 am)
Re: [PATCH] block: fix residual byte count handling
, James Bottomley
, (Tue Mar 4, 11:27 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 11:29 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 11:33 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 11:35 am)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 11:35 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 11:45 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 11:45 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 11:46 am)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 11:49 am)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 11:54 am)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 12:19 pm)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 12:25 pm)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 12:26 pm)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 12:28 pm)
Re: [PATCH] block: fix residual byte count handling
, Mike Galbraith
, (Tue Mar 4, 12:33 pm)
Re: [PATCH] block: fix residual byte count handling
, Jens Axboe
, (Tue Mar 4, 12:34 pm)
Re: [PATCH] block: fix residual byte count handling
, Kiyoshi Ueda
, (Tue Mar 4, 12:42 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 4:33 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 4:54 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Tue Mar 4, 5:26 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Tue Mar 4, 5:44 pm)
[PATCH] blk: missing add of padded bytes to io completion ...
, Boaz Harrosh
, (Wed Mar 5, 3:16 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Mike Galbraith
, (Wed Mar 5, 5:28 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Jens Axboe
, (Wed Mar 5, 5:33 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Boaz Harrosh
, (Wed Mar 5, 5:46 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Jens Axboe
, (Wed Mar 5, 5:48 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Tejun Heo
, (Wed Mar 5, 6:45 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Jens Axboe
, (Wed Mar 5, 6:51 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Tejun Heo
, (Wed Mar 5, 7:08 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Boaz Harrosh
, (Wed Mar 5, 7:46 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Tejun Heo
, (Wed Mar 5, 8:11 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, James Bottomley
, (Wed Mar 5, 8:21 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, FUJITA Tomonori
, (Wed Mar 5, 9:41 pm)
Re: [PATCH] block: fix residual byte count handling
, FUJITA Tomonori
, (Wed Mar 5, 9:56 pm)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, FUJITA Tomonori
, (Wed Mar 5, 10:02 pm)
Re: [PATCH] block: fix residual byte count handling
, Tejun Heo
, (Wed Mar 5, 10:02 pm)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Jens Axboe
, (Thu Mar 6, 6:41 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Tejun Heo
, (Thu Mar 6, 5:07 pm)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, FUJITA Tomonori
, (Fri Mar 7, 8:07 am)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, Tejun Heo
, (Fri Mar 7, 6:06 pm)
Re: [PATCH] blk: missing add of padded bytes to io complet ...
, FUJITA Tomonori
, (Thu Mar 20, 5:54 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Matthew Garrett
Re: 2.6.25-rc6 regression - hang on resume [Bug 10319]
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Casey Schaufler
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric Dumazet
Re: HTB accuracy on 10GbE
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
ixgbe: fix automatic LRO/RSC settings for low latency
Linux Kernel Mailing List
3c515: convert to net_device_ops
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Claudio Jeker
Re: OT: Python (was Re: vi in /bin)
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Colocation donated by:
Syndicate