freebsd-nq/sys
Mark Johnston 903618cd65 gmirror: Bump the syncid if broken disks are found during startup.
Consider a mirror with two components, m1 and m2. Suppose a hardware error
results in the removal of m2, with m1's genid bumped. Suppose further that
a replacement mirror component m3 is created and synchronized, after which
the system is shut down uncleanly. During a subsequent bootup, if gmirror
tastes m1 and m2 first, m2 will be removed from the mirror because it is
broken, but the mirror will be started without bumping the syncid on m1
because all elements of the mirror are accounted for. Then m3 will be
added to the already-running mirror with the same syncid as m1, so the
components will not be synchronized despite the unclean shutdown.

Handle this scenario by bumping the syncid of healthy components if any
broken mirrors are discovered during mirror startup.

MFC after:	3 weeks
Sponsored by:	Dell EMC Isilon
2016-10-06 00:05:45 +00:00
..
amd64 Re-apply r306516 (by cem): 2016-10-04 17:01:24 +00:00
arm if_cpsw overhaul: 2016-10-05 19:09:27 +00:00
arm64 Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
boot GELIBoot may attempt to read past the end of the disk 2016-10-04 16:33:03 +00:00
bsm
cam CAM ccbq sanity: checks on insert and remove 2016-10-05 17:18:24 +00:00
cddl zfs: fix a wrong assertion for extended attributes 2016-10-04 08:09:25 +00:00
compat linuxkpi: Fix PCI BAR lazy allocation support. 2016-09-30 05:51:11 +00:00
conf ARM: Disconnect elf_trampoline.c from ARMv6 build. 2016-10-05 12:17:43 +00:00
contrib Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
crypto
ddb Determine the operand/address size of %cs in a new function 2016-09-25 16:30:29 +00:00
dev Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
fs vfs: remove the __bo_vnode field from struct vnode 2016-09-30 17:11:03 +00:00
gdb
geom gmirror: Bump the syncid if broken disks are found during startup. 2016-10-06 00:05:45 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 Re-apply r306516 (by cem): 2016-10-04 17:01:24 +00:00
isa
kern vfs_bio: Remove a leading space (style) 2016-10-05 23:42:02 +00:00
kgssapi
libkern
mips [ar531x] add initial port for the AR231x/531x series of SoCs. 2016-10-04 16:27:36 +00:00
modules Add rpi_ft5406 module and add it to extra modules in Raspberry Pi configs 2016-10-03 01:08:34 +00:00
net hyperv/hn: Add stubs for OFFLOAD_CURRENT_CONFIG and NETWORK_CHANGE status 2016-09-30 06:58:45 +00:00
net80211 net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
netgraph
netinet Add GARP retransmit capability 2016-10-02 01:42:45 +00:00
netinet6 nd6_dad_timer(): don't assert that the address is tentative. 2016-10-01 01:30:34 +00:00
netipsec
netnatm
netpfil pf: remove fastroute tag 2016-10-04 19:35:14 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto
pc98
powerpc Fix e500mc/derivatives cpu idle 2016-10-05 04:40:48 +00:00
riscv
rpc
security
sparc64
sys Bump __FreeBSD_version for net80211(4) changes (r306590, r306591). 2016-10-02 20:48:12 +00:00
teken
tests
tools
ufs vfs: remove the __bo_vnode field from struct vnode 2016-09-30 17:11:03 +00:00
vm Make the page daemon's notion of what kind of pass is being performed 2016-10-05 17:32:06 +00:00
x86 Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
xdr
xen xen/vchan: change license of header from Lesser GPL v2.1 to BSD 2016-09-30 13:41:24 +00:00
Makefile