linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] block level event logging for storage media management
@ 2017-01-18 23:34 Song Liu
  2017-01-19  0:11 ` Bart Van Assche
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Song Liu @ 2017-01-18 23:34 UTC (permalink / raw)
  To: lsf-pc@lists.linux-foundation.org
  Cc: Jens Axboe, Kernel Team, linux-block@vger.kernel.org


Media health monitoring is very important for large scale distributed stora=
ge systems.=20
Traditionally, enterprise storage controllers maintain event logs for attac=
hed storage
devices. However, these controller managed logs do not scale well for large=
 scale=20
distributed systems.=20

While designing a more flexible and scalable event logging systems, we thin=
k 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 protoco=
ls.=20

In this LSF/MM, we would like to discuss the following topics with the comm=
unity:
    1. Mechanism for drivers report events (or errors) to block layer.=20
       Basically, we will need a traceable function for the drivers to repo=
rt errors=20
       (most likely right before calling end_request or bio_endio). =20
 =20
    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)=20
       and NVMe error (nvme_trans_status_code) to SCSI sense code. So we ca=
n=20
       leverage SCSI Key Code Qualifier for event categorizations.=20

    4. Detailed discussions on data structure for event logging.=20

We will be able to show a prototype implementation during LSF/MM.=20

Thanks,
Song=

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-25 18:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).