Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2013 11:48:42 GMT
From:      Igor Kulemzin <ivk@kristal.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/180876: ZFS with trim, bio_flush or bio_delete locks hast device write operations
Message-ID:  <201307261148.r6QBmgkU007306@oldred.freebsd.org>
Resent-Message-ID: <201307261150.r6QBo0Ed019413@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180876
>Category:       misc
>Synopsis:       ZFS with trim,bio_flush or bio_delete locks hast device write operations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 26 11:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Igor Kulemzin
>Release:        FreeBSD 9-STABLE
>Organization:
>Environment:
FreeBSD mx2.kristal.ru 9.2-BETA1 FreeBSD 9.2-BETA1 #0 r253470: Sat Jul 20 12:45:10 YAKT 2013     root@mx2.kristal.ru:/usr/obj/amd64/usr/src/sys/WKS_MP  amd64
>Description:
I've run hast synchronization from primary to secondary. Within some time of synchronization run zpool status zroot. zpool shows status of zroot and after some seconds hast syncronization stops. In that some seconds only 6-10Mb writes to primary device. I've see that in dirty section from "hastctl list". Any write operations to zfs pool stops too. I can't mount zfs filesystem datasets anymore. Only ACPI button poweroff or Ctrl+Alt+Delete works with some small timeouts.
>How-To-Repeat:
- create hast device on primary
- create ZFS pool on primary hast device
- create hast device on secondary
- run synchronization (memory type) from primary to secondary
- make some write operations on primary ZFS pool: create datasets, mount datasets, write some files.
>Fix:
vfs.zfs.vdev.bio_delete_disable=1
vfs.zfs.vdev.bio_flush_disable=1

fix my problem. May be only one of them or vfs.zfs.trim.enabled=0. Didn't check, sorry.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307261148.r6QBmgkU007306>