Skip to content

Commit

Permalink
Version 6.1.0.187
Browse files Browse the repository at this point in the history
- Fixed a hang when recovering a VDO volume with a physical size larger
  than 16TB.
  • Loading branch information
corwin committed Oct 5, 2018
1 parent 0aba30f commit ef6ad32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions kvdo.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%define spec_release 1

%define kmod_name kvdo
%define kmod_driver_version 6.1.0.185
%define kmod_driver_version 6.1.0.187
%define kmod_rpm_release %{spec_release}
%define kmod_kernel_version 3.10.0-693.el7
%define kmod_headers_version %(rpm -qa kernel-devel | sed 's/^kernel-devel-//')
Expand Down Expand Up @@ -196,5 +196,5 @@ install -m 644 -D $PWD/obj/%{kmod_kbuild_dir}/Module.symvers $RPM_BUILD_ROOT/usr
rm -rf $RPM_BUILD_ROOT

%changelog
* Wed Sep 05 2018 - J. corwin Coburn <[email protected]> - 6.1.0.185-1
HASH(0x1a519e0)
* Fri Oct 05 2018 - J. corwin Coburn <[email protected]> - 6.1.0.187-1
HASH(0x1b6f9e0)
2 changes: 1 addition & 1 deletion vdo/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VDO_VERSION = 6.1.0.185
VDO_VERSION = 6.1.0.187

VDO_VERSION_MAJOR = $(word 1,$(subst ., ,$(VDO_VERSION)))
VDO_VERSION_MINOR = $(word 2,$(subst ., ,$(VDO_VERSION)))
Expand Down
7 changes: 4 additions & 3 deletions vdo/base/blockMapRecovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*
* $Id: //eng/vdo-releases/magnesium-rhel7.5/src/c++/vdo/base/blockMapRecovery.c#1 $
* $Id: //eng/vdo-releases/magnesium-rhel7.5/src/c++/vdo/base/blockMapRecovery.c#2 $
*/

#include "blockMapRecovery.h"
Expand Down Expand Up @@ -392,13 +392,14 @@ static void fetchPage(BlockMapRecoveryCompletion *recovery,
}

// Fetch the next page we haven't yet requested.
PageNumber newPageNumber = recovery->currentUnfetchedEntry->blockMapSlot.pbn;
PhysicalBlockNumber newPBN
= recovery->currentUnfetchedEntry->blockMapSlot.pbn;
recovery->currentUnfetchedEntry
= findEntryStartingNextPage(recovery, recovery->currentUnfetchedEntry,
true);
initVDOPageCompletion(((VDOPageCompletion *) completion),
recovery->blockMap->zones[0].pageCache,
newPageNumber, true, &recovery->completion,
newPBN, true, &recovery->completion,
pageLoaded, handlePageLoadError);
recovery->outstanding++;
getVDOPageAsync(completion);
Expand Down

0 comments on commit ef6ad32

Please sign in to comment.