Skip to content

Commit

Permalink
Version 8.2.0.21
Browse files Browse the repository at this point in the history
- Fixed a bug where I/O errors on data reads from below a vdo were ignored.
  • Loading branch information
corwin committed Sep 26, 2022
1 parent 6077a12 commit b084c09
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kvdo.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%define spec_release 1
%define kmod_name kvdo
%define kmod_driver_version 8.2.0.18
%define kmod_driver_version 8.2.0.21
%define kmod_rpm_release %{spec_release}
%define kmod_kernel_version 3.10.0-693.el7

Expand Down Expand Up @@ -94,5 +94,5 @@ rm -rf $RPM_BUILD_ROOT
%{_usr}/src/%{kmod_name}-%{version}

%changelog
* Thu Aug 18 2022 - Red Hat VDO Team <vdo-devel@redhat.com> - 8.2.0.18-1
* Thu Sep 22 2022 - Red Hat VDO Team <vdo-devel@redhat.com> - 8.2.0.21-1
- See https://github.com/dm-vdo/kvdo.git
2 changes: 1 addition & 1 deletion vdo/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VDO_VERSION = 8.2.0.18
VDO_VERSION = 8.2.0.21

SOURCES = $(notdir $(wildcard $(src)/*.c))
OBJECTS = $(SOURCES:%.c=%.o)
Expand Down
1 change: 1 addition & 0 deletions vdo/dedupe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,7 @@ static void verify_endio(struct bio *bio)

vdo_count_completed_bios(bio);
if (result != VDO_SUCCESS) {
agent->is_duplicate = false;
launch_data_vio_hash_zone_callback(agent, finish_verifying);
return;
}
Expand Down
6 changes: 6 additions & 0 deletions vdo/vio-read.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,14 @@ static void complete_read(struct vdo_completion *completion)
static void read_endio(struct bio *bio)
{
struct data_vio *data_vio = vio_as_data_vio(bio->bi_private);
int result = blk_status_to_errno(bio->bi_status);

vdo_count_completed_bios(bio);
if (result != VDO_SUCCESS) {
continue_data_vio(data_vio, result);
return;
}

launch_data_vio_cpu_callback(data_vio,
complete_read,
CPU_Q_COMPLETE_READ_PRIORITY);
Expand Down

0 comments on commit b084c09

Please sign in to comment.