diff options
author | Mark Johnston <markj@FreeBSD.org> | 2016-10-20 23:02:30 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2016-10-20 23:02:30 +0000 |
commit | b450976dc22455c75e0a2ecd9ba665c725bf59c8 (patch) | |
tree | 2ee0c5bd0056a2d675f44b0da66a48b66daa10b6 /sys/conf/newvers.sh | |
parent | c615275cccc56514f2eaf42112f9e604507c0feb (diff) | |
download | src-b450976dc22455c75e0a2ecd9ba665c725bf59c8.tar.gz src-b450976dc22455c75e0a2ecd9ba665c725bf59c8.zip |
gmirror: Release pending regular requests when synchronization stops.
Normally gmirror allows colliding requests to proceed whenever a
synchronization request completes and advances to the next offset. However
if an I/O request collides with one of the final g_mirror_syncreqs, nothing
releases it once synchronization completes, resulting in an apparent I/O
hang. The same problem can occur if synchronization is aborted by an
I/O error. Therefore, be sure to requeue pending requests when
mirror synchronization is stopped for any reason.
While here, remove some dead code from g_mirror_regular_release().
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=307691
Diffstat (limited to 'sys/conf/newvers.sh')
0 files changed, 0 insertions, 0 deletions