All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH linux-2.6.18] support suspend/resume in pvscsi drivers
Date: Fri, 30 Jan 2015 15:54:15 +0100	[thread overview]
Message-ID: <54CB9B17.40901@suse.com> (raw)
In-Reply-To: <54CBA747020000780005B636@suse.com>

On 01/30/2015 03:46 PM, Jan Beulich wrote:
>>>> On 30.01.15 at 14:52, <"jgross@suse.com".non-mime.internet> wrote:
>> @@ -231,8 +242,23 @@ static int scsifront_cmd_done(struct vsc
>>   	return more_to_do;
>>   }
>>
>> +void scsifront_finish_all(struct vscsifrnt_info *info)
>> +{
>> +	unsigned i;
>> +	struct vscsiif_response resp;
>>
>> +	scsifront_ring_drain(info);
>
> Shouldn't you at least issue some kind of warning when this returns
> non-zero?

If a warning should be issued, then this should be done after the
following loop in case of at least one request terminated there.

I'm really not sure, whether a warning is required here. If you like,
I can add one.

Juergen

  parent reply	other threads:[~2015-01-30 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30 13:52 [PATCH linux-2.6.18] support suspend/resume in pvscsi drivers Juergen Gross
2015-01-30 14:46 ` Jan Beulich
     [not found] ` <54CBA747020000780005B636@suse.com>
2015-01-30 14:54   ` Juergen Gross [this message]
2015-01-30 15:05     ` Jan Beulich
     [not found]     ` <54CBABC9020000780005B6C2@suse.com>
2015-01-30 15:09       ` Juergen Gross

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=54CB9B17.40901@suse.com \
    --to=jgross@suse.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.