From: "Richard W.M. Jones" <rjones@redhat.com>
To: vsementsov@virtuozzo.com
Cc: eblake@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: [PATCH] nbd/server: Suppress Broken pipe errors on abrupt disconnection
Date: Thu, 22 Jul 2021 11:45:51 +0100 [thread overview]
Message-ID: <20210722104552.2351167-1-rjones@redhat.com> (raw)
This simple patch suppresses a warning message from qemu-nbd when a
client abruptly disconnects. There is a way to work around this in
the client (by shutting down the connection properly). Nevertheless
the "Broken pipe" error seems unnecessary to me as it does not convey
any useful information and might be used to fill up logs.
Rich.
next reply other threads:[~2021-07-22 10:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 10:45 Richard W.M. Jones [this message]
2021-07-22 10:45 ` [PATCH] nbd/server: Suppress Broken pipe errors on abrupt disconnection Richard W.M. Jones
2021-07-23 15:49 ` Eric Blake
2021-09-13 15:07 ` Kevin Wolf
2021-09-13 15:16 ` Richard W.M. Jones
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=20210722104552.2351167-1-rjones@redhat.com \
--to=rjones@redhat.com \
--cc=eblake@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.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).