/[base]
ViewVC logotype

Revision 364412


Jump to revision: Previous Next
Author: asomers
Date: Thu Aug 20 01:31:21 2020 UTC (3 years, 10 months ago)
Changed paths: 1
Log Message:
zfs: fix EIO accessing dataset after resuming interrupted receive

ZFS unmounts a dataset while receiving into it and remounts it afterwards.
But if ZFS is resuming an incomplete receive, it screws up and ends up with
a dataset that is mounted, but returns EIO for every access. This commit
fixes that condition.

While the vulnerable code also exists in OpenZFS, the problem is not
reproducible there. Apparently OpenZFS doesn't unmount the destination
dataset during receive, like FreeBSD does.

PR:		248606
Reviewed by:	mmacy
MFC after:	2 weeks
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D26034


Changed paths

Path Details
Directoryhead/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27