[pve-devel] applied: [PATCH storage] add workaround for zfs rollback bug

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 26 18:33:17 CET 2021


On 21.01.21 16:47, Dominik Csapak wrote:
> as described in the zfs bug https://github.com/openzfs/zfs/issues/10931
> the kernel keeps around cached data from mmaps after a rollback, thus
> having invalid data in files that were allegedly rolled back
> 
> to workaround this (until a real fix comes along), we unmount the subvol,
> invalidating the kernel cache anyway
> 
> the dataset gets mounted on the next 'activate_volume' again
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  PVE/Storage/ZFSPoolPlugin.pm | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list