Re: [RFC patch 1/1] Track raid5/6 statistics.
From: Gabor Gombas <hidden>
Date: 2008-11-27 11:47:48
From: Gabor Gombas <hidden>
Date: 2008-11-27 11:47:48
On Wed, Nov 26, 2008 at 02:04:53PM -0500, scjody@sun.com wrote:
I realize that the format of the statistics may not be the best, and there may be a better location than /proc/mdstat, so I welcome suggestions on where to put them.
Are these values useful for mere mortals trying to create a RAID array
best suited for a specific workload, or are these only useful for people
hacking on the RAID code? If the former, then I'd suggest to use sysfs
(something like /sys/block/<dev>/md/statistics, similar to
/sys/class/net/<dev>/statistics). If the latter, then debugfs would be
better.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------