All of lore.kernel.org
 help / color / mirror / Atom feed
From: kj@orbekk.com
To: "Chaitanya Kulkarni" <Chaitanya.Kulkarni@wdc.com>,
	"Alasdair G Kergon" <agk@redhat.com>,
	"Mike Snitzer" <snitzer@redhat.com>,
	"dm-devel@redhat.com" <dm-devel@redhat.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Cc: "harshads@google.com" <harshads@google.com>,
	"Khazhismel Kumykov" <khazhy@google.com>
Subject: Re: [PATCH] dm: track io errors per mapped device
Date: Fri, 08 May 2020 15:22:33 -0400	[thread overview]
Message-ID: <dd7b8b91-776b-4458-a83a-18ab4953d2f4@www.fastmail.com> (raw)
In-Reply-To: <DM6PR04MB49726E28257263F5A1C643B386A20@DM6PR04MB4972.namprd04.prod.outlook.com>

On Thu, May 7, 2020, at 21:12, Chaitanya Kulkarni wrote:
> On 05/07/2020 04:06 PM, Kjetil Orbekk wrote:
> > +		if (tio->error)
> > +			atomic_inc(&md->ioerr_cnt);
> 
> Given that there are so many errors how would user know what
> kind of error is generated and how many times?

The intended use case is to provide an easy way to check if errors have occurred at all, and then the user needs to investigate using other means. I replied with more detail to Alasdair's email.

-- 
KJ

  reply	other threads:[~2020-05-08 19:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 23:05 [PATCH] dm: track io errors per mapped device Kjetil Orbekk
2020-05-08  0:18 ` Alasdair G Kergon
2020-05-08 19:18   ` kj
2020-05-08  1:12 ` Chaitanya Kulkarni
2020-05-08 19:22   ` kj [this message]
2020-05-08 21:09     ` Mike Snitzer
2020-05-09 16:01       ` kj

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=dd7b8b91-776b-4458-a83a-18ab4953d2f4@www.fastmail.com \
    --to=kj@orbekk.com \
    --cc=Chaitanya.Kulkarni@wdc.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=harshads@google.com \
    --cc=khazhy@google.com \
    --cc=linux-block@vger.kernel.org \
    --cc=snitzer@redhat.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 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.