qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ISCSI: Readcapacity retruned the lba of the last sector. Total number of sectors is one more.
Date: Fri, 04 May 2012 10:37:01 +0200	[thread overview]
Message-ID: <4FA3952D.6070008@redhat.com> (raw)
In-Reply-To: <1336119344-30445-2-git-send-email-ronniesahlberg@gmail.com>

Il 04/05/2012 10:15, Ronnie Sahlberg ha scritto:
>      itask->iscsilun->num_blocks = rc16->returned_lba;
> -    itask->bs->total_sectors    = rc16->returned_lba *
> +    itask->bs->total_sectors    = (rc16->returned_lba + 1) *

What about itask->iscsilun->num_blocks? :)  No need to resend, I fixed
this locally.

      reply	other threads:[~2012-05-04  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04  8:15 [Qemu-devel] [PATCH] Fix incorrect calculation of iscsi number of blocks Ronnie Sahlberg
2012-05-04  8:15 ` [Qemu-devel] [PATCH] ISCSI: Readcapacity retruned the lba of the last sector. Total number of sectors is one more Ronnie Sahlberg
2012-05-04  8:37   ` Paolo Bonzini [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=4FA3952D.6070008@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ronniesahlberg@gmail.com \
    /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).