Re: [PATCH 1/2] ext4: add sysfs entry showing whether the fs contains errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Applied, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux