From: Boaz Harrosh <bharrosh@panasas.com>
To: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
grant.likely@secretlab.ca, linux-ide@vger.kernel.org,
dm-devel@redhat.com, jens.axboe@oracle.com
Subject: Re: [PATCH 20/30] blk_end_request: changing xsysace (take 4)
Date: Wed, 12 Dec 2007 20:12:27 +0200 [thread overview]
Message-ID: <4760248B.6010904@panasas.com> (raw)
In-Reply-To: <20071212.120648.71084437.k-ueda@ct.jp.nec.com>
On Wed, Dec 12 2007 at 19:06 +0200, Kiyoshi Ueda <k-ueda@ct.jp.nec.com> wrote:
> Hi,
>
> On Wed, 12 Dec 2007 11:09:12 +0200, Boaz Harrosh <bharrosh@panasas.com> wrote:
>>> Index: 2.6.24-rc4/drivers/block/xsysace.c
>>> ===================================================================
>>> --- 2.6.24-rc4.orig/drivers/block/xsysace.c
>>> +++ 2.6.24-rc4/drivers/block/xsysace.c
>>> @@ -703,7 +703,7 @@ static void ace_fsm_dostate(struct ace_d
>>>
>>> /* bio finished; is there another one? */
>>> i = ace->req->current_nr_sectors;
>>> - if (end_that_request_first(ace->req, 1, i)) {
>>> + if (__blk_end_request(ace->req, 0, i)) {
>> end_that_request_first() took sectors __blk_end_request() now takes
>> bytes
>
> Thank you for pointing it out! And I'm very sorry for the bug.
> I have checked all conversions between sectors and bytes through
> all patches again, and I found no other miss conversions.
>
> Below is the revised patch for xsysace.
>
> Thanks,
> Kiyoshi Ueda
>
>
NP, I know how it is, after you rebased your work for the
"who's counting" times, you become blind. You need fresh
eyes to look at it. Thanks for doing all this.
Boaz
prev parent reply other threads:[~2007-12-12 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-11 22:49 [PATCH 20/30] blk_end_request: changing xsysace (take 4) Kiyoshi Ueda
2007-12-11 22:59 ` Grant Likely
2007-12-12 9:09 ` Boaz Harrosh
2007-12-12 17:06 ` Kiyoshi Ueda
2007-12-12 18:12 ` Boaz Harrosh [this message]
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=4760248B.6010904@panasas.com \
--to=bharrosh@panasas.com \
--cc=dm-devel@redhat.com \
--cc=grant.likely@secretlab.ca \
--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 \
/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;
as well as URLs for NNTP newsgroup(s).