From: Theodore Ts'o <tytso@mit.edu>
To: Lukas Czerner <lczerner@redhat.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH 1/2] ext4: add sysfs entry showing whether the fs contains errors
Date: Thu, 11 Sep 2014 11:19:20 -0400 [thread overview]
Message-ID: <20140911151920.GB26178@thunk.org> (raw)
In-Reply-To: <1410262340-13713-1-git-send-email-lczerner@redhat.com>
On Tue, Sep 09, 2014 at 01:32:19PM +0200, Lukas Czerner wrote:
> Currently there is no easy way to tell that the mounted file system
> contains errors other than checking for log messages, or reading the
> information directly from superblock.
>
> This patch adds new sysfs entries:
>
> errors_count (number of fs errors we encounter)
> first_error_time (unix timestamp for the first error we see)
> last_error_time (unix timestamp for the last error we see)
>
> If the file system is not marked as containing errors then any of the
> file will return 0. Otherwise it will contain valid information. More
> details about the errors should as always be found in the logs.
>
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Applied, thanks.
- Ted
prev parent reply other threads:[~2014-09-11 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 11:32 [PATCH 1/2] ext4: add sysfs entry showing whether the fs contains errors Lukas Czerner
2014-09-09 11:32 ` [PATCH 2/2] ext4: Provide separate operations for sysfs feature files Lukas Czerner
2014-09-11 15:28 ` [2/2] " Theodore Ts'o
2014-09-11 15:19 ` Theodore Ts'o [this message]
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=20140911151920.GB26178@thunk.org \
--to=tytso@mit.edu \
--cc=lczerner@redhat.com \
--cc=linux-ext4@vger.kernel.org \
/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).