From: Dan Williams <dan.j.williams@intel.com>
To: Song Liu <songliubraving@fb.com>
Cc: "lsf-pc@lists.linux-foundation.org"
<lsf-pc@lists.linux-foundation.org>, Jens Axboe <axboe@fb.com>,
Kernel Team <Kernel-team@fb.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"Verma, Vishal L" <vishal.l.verma@intel.com>
Subject: Re: [LSF/MM TOPIC] block level event logging for storage media management
Date: Fri, 20 Jan 2017 21:46:52 -0800 [thread overview]
Message-ID: <CAA9_cmd_XMbw_26ePCSWLxP9PoTn36n8sO5buE2iTCoPnK+CHg@mail.gmail.com> (raw)
In-Reply-To: <6040124E-4928-4FC8-8A52-35115D9CA1DF@fb.com>
On Wed, Jan 18, 2017 at 3:34 PM, Song Liu <songliubraving@fb.com> wrote:
>
> Media health monitoring is very important for large scale distributed storage systems.
> Traditionally, enterprise storage controllers maintain event logs for attached storage
> devices. However, these controller managed logs do not scale well for large scale
> distributed systems.
>
> While designing a more flexible and scalable event logging systems, we think it is better
> to build the log in block layer. Block level event logging covers all major storage media
> (SCSI, SATA, NVMe), and thus minimizes redundant work for different protocols.
>
> In this LSF/MM, we would like to discuss the following topics with the community:
> 1. Mechanism for drivers report events (or errors) to block layer.
> Basically, we will need a traceable function for the drivers to report errors
> (most likely right before calling end_request or bio_endio).
>
> 2. What mechanism (ftrace, BPF, etc.) is mostly preferred for the event logging?
>
> 3. How should we categorize different events?
> Currently, there are existing code that translates ATA error (ata_to_sense_error)
> and NVMe error (nvme_trans_status_code) to SCSI sense code. So we can
> leverage SCSI Key Code Qualifier for event categorizations.
>
> 4. Detailed discussions on data structure for event logging.
>
> We will be able to show a prototype implementation during LSF/MM.
Hi Song,
How is this distinct from tracking a badblocks list?
I'm interested in this topic since we have both media error reporting
/ scrubbing for nvdimms as well "SMART" media health retrieval
commands.
next prev parent reply other threads:[~2017-01-21 5:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-18 23:34 [LSF/MM TOPIC] block level event logging for storage media management Song Liu
2017-01-19 0:11 ` Bart Van Assche
2017-01-19 6:32 ` Coly Li
2017-01-19 6:48 ` Hannes Reinecke
2017-01-21 5:46 ` Dan Williams [this message]
2017-01-23 6:00 ` Song Liu
2017-01-23 7:27 ` Dan Williams
2017-01-24 20:18 ` Oleg Drokin
2017-01-24 23:17 ` Song Liu
2017-01-25 9:56 ` [Lsf-pc] " Jan Kara
2017-01-25 18:30 ` Oleg Drokin
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=CAA9_cmd_XMbw_26ePCSWLxP9PoTn36n8sO5buE2iTCoPnK+CHg@mail.gmail.com \
--to=dan.j.williams@intel.com \
--cc=Kernel-team@fb.com \
--cc=axboe@fb.com \
--cc=linux-block@vger.kernel.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=songliubraving@fb.com \
--cc=vishal.l.verma@intel.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).