]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257154:
authortrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Oct 2013 20:30:26 +0000 (20:30 +0000)
committertrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Oct 2013 20:30:26 +0000 (20:30 +0000)
commitda9677fcf61c49400f7fb838b25e56ae4877ca63
treeac921bcf2248fde238cd9cf6cd32a291ea5ac738
parent248f69b71df6580c8f54013175c893e2f76bcd62
MFC r257154:

Merging local and remote bitmaps must be protected by hr_amp lock.

This is believed to fix hastd crashes, which might occur during
synchronization, triggered by the failed assertion:

 Assertion failed: (amp->am_memtab[ext] > 0),
 function activemap_write_complete, file activemap.c, line 351.

Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/stable/10@257468 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/hastd/primary.c