SVNews r327779

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-10 19:37:21 - r327779 by markj (markj)

Complete list of files affected by revision r327779:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/geom/mirror/g_mirror.c  

Commit message:

Fix handling of read errors during mirror synchronization.

We would previously just free the request BIO, which would either cause
the disk to stay stuck in the SYNCHRONIZING state, or result in
synchronization completing without having copied the block which
returned an error.

With this change, if the disk which returned an error is the only active
disk in the mirror, the synchronizing disk is kicked out. Otherwise, the
read is retried.

Reported and tested by: pho (previous version)
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 1 file printed. Current time is 2018-01-17 20:11:17. All times are in UTC/GMT.