From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Salomon Dushimirimana <salomondush@google.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: Add SCSI error events, sent as kobject uevents by mid-layer
Date: Thu, 15 May 2025 16:11:07 -0400 [thread overview]
Message-ID: <727641384722bbdbbf96176210a7899f1b9795eb.camel@HansenPartnership.com> (raw)
In-Reply-To: <CAPE3x16MrkQXFasVaaHBxhH2QvQ4H5cDiE3ae=-nYjuEKV-NBw@mail.gmail.com>
On Thu, 2025-05-15 at 13:03 -0700, Salomon Dushimirimana wrote:
> Hi,
>
> I agree with the recommended use of ftrace or blktrace for tracing.
Great; what made me think of tracing is that your event emits for every
error or retry which seemed like quite an overhead. Conditioning it on
a config parameter really isn't useful to distributions, so using the
tracepoint system would solve both the quantity and the activation
problem.
> However, our primary goal for using uevents was not merely for
> collecting trace information. We are using uevents as a notification
> mechanism for userspace workflows to determine repair workflows (swap
> / remove a failing device).
If you're collecting stats for predictive failure, how is this proposed
active mechanism more effective than the passive one of simply using
the existing SMART monitor tools?
Regards,
James
next prev parent reply other threads:[~2025-05-15 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 18:17 Salomon Dushimirimana
2025-05-13 19:00 ` Salomon Dushimirimana
2025-05-13 20:27 ` James Bottomley
2025-05-15 20:03 ` Salomon Dushimirimana
2025-05-15 20:11 ` James Bottomley [this message]
2025-06-09 19:02 ` Salomon Dushimirimana
2025-05-13 19:39 ` Bart Van Assche
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=727641384722bbdbbf96176210a7899f1b9795eb.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=salomondush@google.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
all inboxes | Powered by JetHome®