From: Hendrik Brueckner <brueckner@linux•vnet.ibm.com>
To: Scott Wood <scottwood@freescale•com>
Cc: linuxppc-dev@ozlabs•org,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Christian Borntraeger <borntraeger@de•ibm.com>,
brueckner@linux•vnet.ibm.com, Timur Tabi <timur@freescale•com>,
Alan Cox <alan@lxorguk•ukuu.org.uk>
Subject: Re: [PATCH] hvc_console: returning 0 from put_chars is not an error
Date: Fri, 16 Oct 2009 10:49:24 +0200 [thread overview]
Message-ID: <20091016084924.GB4234@linux.vnet.ibm.com> (raw)
In-Reply-To: <4AD778E6.7020806@freescale.com>
On Thu, Oct 15, 2009 at 02:32:54PM -0500, Scott Wood wrote:
> Christian Borntraeger wrote:
>> About the backends, there are some that spin until the text is
>> delivered (e.g. virtio) , others can drop (e.g. iucv is a connection
>> oriented protocol and it will (and has to) drop if there is no
>> connection).
>
> Sure, dropping due to not having a connection makes sense. That's
> different from merely being busy. Can the iucv code tell the difference
> between those two states?
The states are handled by the hvc_iucv itself:
If the hvc_iucv code has a connection established, terminal or console data
are queued and sent to the peer. If the state is disconnected, terminal and
console data is discarded internally.
- Hendrik
next prev parent reply other threads:[~2009-10-16 8:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 21:53 [PATCH] hvc_console: returning 0 from put_chars is not an error Timur Tabi
2009-10-15 11:05 ` Christian Borntraeger
2009-10-15 16:09 ` Scott Wood
2009-10-15 18:41 ` Christian Borntraeger
2009-10-15 18:55 ` Timur Tabi
2009-10-15 18:57 ` Scott Wood
2009-10-15 19:26 ` Christian Borntraeger
2009-10-15 19:32 ` Scott Wood
2009-10-16 8:49 ` Hendrik Brueckner [this message]
2009-10-17 23:17 ` Timur Tabi
2009-10-16 4:46 ` Benjamin Herrenschmidt
2009-10-16 15:33 ` Scott Wood
2009-10-16 18:03 ` Benjamin Herrenschmidt
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=20091016084924.GB4234@linux.vnet.ibm.com \
--to=brueckner@linux$(echo .)vnet.ibm.com \
--cc=alan@lxorguk$(echo .)ukuu.org.uk \
--cc=borntraeger@de$(echo .)ibm.com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=scottwood@freescale$(echo .)com \
--cc=timur@freescale$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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