]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdcheck: Log when done
authorDonald Buczek <buczek@molgen.mpg.de>
Wed, 13 May 2020 13:16:46 +0000 (15:16 +0200)
committerJes Sorensen <jsorensen@fb.com>
Thu, 14 May 2020 15:08:59 +0000 (11:08 -0400)
commit3b7aae927bdb6e150d1aaf3aaf0d183a06abda0b
treee960db0014482b3d5e026d44b05613b0ebbf7dbc
parent7b99edab2834d5d08ef774b4cff784caaa1a186f
mdcheck: Log when done

Currently mdcheck (when called with `--duration`) logs only the
beginning of the check, the pausing and the continuation but not the
completion.

So, log the completion, too, so that it can be determined how long the
raid check took.

    2020-05-08T18:00:02+02:00 deadpool root: mdcheck start checking /dev/md0
    2020-05-08T18:00:02+02:00 deadpool root: mdcheck start checking /dev/md1
    2020-05-09T15:32:04+02:00 deadpool root: mdcheck finished checking /dev/md1
    2020-05-09T17:38:04+02:00 deadpool root: mdcheck finished checking /dev/md0

Cc: linux-raid@vger.kernel.org
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
misc/mdcheck