[zfs-devel] self-healing IOs stats in zpool status

Zenaan Harkness zen at freedbms.net
Wed Aug 2 08:48:15 EDT 2017


Legendary! Bloody awesome mate!

That's some very nice work - much goodness to you :)
Zenaan



On Tue, Aug 01, 2017 at 06:01:06PM -0700, Tony Hutter via zfs-devel wrote:
> 
> > If there is a good reason not to count these in the current
> > read and checksum stats, I would definitely support adding
> > additional stats counters for them. I would even go so far
> > as having 'zpool status' automatically add them to the real
> > read/checksum counts unless you give it a flag to turn this
> > off.
> 
> I agree, especially with the part about adding the self-healed IOs into the regular totals *by default*, since I think
> that's what people expect.  I'm already working on a patch. Here's some sample output showing 40 self-healed read
> errors, plus 5 regular read errors ('-s' = "show self-healed"):
> 
> $ zpool status -s
> 
>   pool: mypool
>  state: ONLINE
>   scan: none requested
> config:
>                                                Non-Fatal
>     NAME        STATE     READ WRITE CKSUM  READ WRITE CKSUM
>     mypool      ONLINE       0     0     0     0     0 0
>       mirror-0  ONLINE       0     0     0     0     0 0
>         md100   ONLINE      45     0     0    40     0 0
>         md101   ONLINE       0     0     0     0     0 0


More information about the zfs-devel mailing list