[Kernel-packages] [Bug 1853130] [NEW] zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

2019-11-19 Thread alberto fiaschi
Public bug reported:

zfs-dkms- Fail build  with kernel 5.0.0-36-generic 
cripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
 make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o] Error 1
 make[5]: *** Waiting for unfinished jobs
 In file included from /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
  from /var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
 /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function ‘gethrestime’:
 /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit 
declaration of function ‘current_kernel_time’; did you mean ‘current_time’? 
[-Werror=implicit-function-declaration]
   *now = current_kernel_time();
  ^~~
  current_time
 /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error: incompatible 
types when assigning to type ‘timestruc_t {aka struct timespec}’ from type ‘int’
   *now = current_kernel_time();
^
 /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function 
‘gethrestime_sec’:
 /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error: incompatible 
types when assigning to type ‘struct timespec’ from type ‘int’
   ts = current_kernel_time();
  ^
   CC [M]  /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
 cc1: some warnings being treated as errors
 scripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
 make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o] Error 1

** Affects: zfs-linux (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "spl-dkms.0.crash"
   
https://bugs.launchpad.net/bugs/1853130/+attachment/5306466/+files/spl-dkms.0.crash

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1853130

Title:
  zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  zfs-dkms- Fail build  with kernel 5.0.0-36-generic 
  cripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
   make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o] Error 1
   make[5]: *** Waiting for unfinished jobs
   In file included from /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
from 
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function ‘gethrestime’:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit 
declaration of function ‘current_kernel_time’; did you mean ‘current_time’? 
[-Werror=implicit-function-declaration]
 *now = current_kernel_time();
^~~
current_time
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error: incompatible 
types when assigning to type ‘timestruc_t {aka struct timespec}’ from type ‘int’
 *now = current_kernel_time();
  ^
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function 
‘gethrestime_sec’:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error: incompatible 
types when assigning to type ‘struct timespec’ from type ‘int’
 ts = current_kernel_time();
^
 CC [M]  /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
   cc1: some warnings being treated as errors
   scripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
   make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1853130/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Kernel-packages] [Bug 1853130] Re: zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

2019-11-19 Thread alberto fiaschi
sorry for the mistake
thanks


*«L'immaginazione è più importante della conoscenza.» - Albert
Einstein.*


*Alberto M.Fiaschi*


*http://it.linkedin.com/pub/alberto-fiaschi
<http://it.linkedin.com/pub/alberto-fiaschi/38/783/a5> *


Il giorno mar 19 nov 2019 alle ore 13:30 Colin Ian King <
1853...@bugs.launchpad.net> ha scritto:

> The hwe (and bionic) kernels come with zfs and spl modules already
> provided, so there is no need for zfs-dkms and spl-dkms, e.g.
>
> cking@bionic-amd64:~$ uname -a
> Linux bionic-amd64 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12
> 11:09:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> cking@bionic-amd64:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:Ubuntu 18.04.3 LTS
> Release:18.04
> Codename:   bionic
> cking@bionic-amd64:~$ dpkg -l | grep zfs-dkms
> cking@bionic-amd64:~$ dmesg | grep ZFS
> [   16.209504] ZFS: Loaded module v0.7.12-1ubuntu5, ZFS pool version 5000,
> ZFS filesystem version 5
> cking@bionic-amd64:~$ lsmod | grep zfs
> zfs  3035136  8
> zunicode  331776  1 zfs
> zavl   16384  1 zfs
> icp   258048  1 zfs
> zcommon65536  1 zfs
> znvpair77824  2 zfs,zcommon
> spl   102400  4 zfs,icp,znvpair,zcommon
>
> so just remove zfs-dkms and you can still use zfs on the HWE 5.0.x
> kernel on Bionic.
>
> ** Changed in: zfs-linux (Ubuntu)
>Importance: Undecided => Wishlist
>
> ** Changed in: zfs-linux (Ubuntu)
>  Assignee: (unassigned) => Colin Ian King (colin-king)
>
> ** Changed in: zfs-linux (Ubuntu)
>Status: New => Triaged
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1853130
>
> Title:
>   zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic
>
> Status in zfs-linux package in Ubuntu:
>   Triaged
>
> Bug description:
>   zfs-dkms- Fail build  with kernel 5.0.0-36-generic
>   cripts/Makefile.build:284: recipe for target
> '/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
>make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o]
> Error 1
>make[5]: *** Waiting for unfinished jobs
>In file included from
> /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
> from
> /var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function
> ‘gethrestime’:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit
> declaration of function ‘current_kernel_time’; did you mean ‘current_time’?
> [-Werror=implicit-function-declaration]
>  *now = current_kernel_time();
> ^~~
> current_time
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error:
> incompatible types when assigning to type ‘timestruc_t {aka struct
> timespec}’ from type ‘int’
>  *now = current_kernel_time();
>   ^
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function
> ‘gethrestime_sec’:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error:
> incompatible types when assigning to type ‘struct timespec’ from type ‘int’
>  ts = current_kernel_time();
> ^
>  CC [M]  /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
>cc1: some warnings being treated as errors
>scripts/Makefile.build:284: recipe for target
> '/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
>make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o]
> Error 1
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1853130/+subscriptions
>

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1853130

Title:
  zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

Status in zfs-linux package in Ubuntu:
  Triaged

Bug description:
  zfs-dkms- Fail build  with kernel 5.0.0-36-generic 
  cripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
   make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o] Error 1
   make[5]: *** Waiting for unfinished jobs
   In file included from /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
from 
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function ‘g

Re: [Kernel-packages] [Bug 1853130] Re: zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

2019-11-19 Thread alberto fiaschi
Ok, thanks.


*«L'immaginazione è più importante della conoscenza.» - Albert
Einstein.*


*Alberto M.Fiaschi*


*http://it.linkedin.com/pub/alberto-fiaschi
<http://it.linkedin.com/pub/alberto-fiaschi/38/783/a5> *


Il giorno mar 19 nov 2019 alle ore 14:50 Colin Ian King <
1853...@bugs.launchpad.net> ha scritto:

> No problem at all. I'll close this bug if that's OK.
>
> ** Changed in: zfs-linux (Ubuntu)
>Status: Triaged => Won't Fix
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1853130
>
> Title:
>   zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic
>
> Status in zfs-linux package in Ubuntu:
>   Won't Fix
>
> Bug description:
>   zfs-dkms- Fail build  with kernel 5.0.0-36-generic
>   cripts/Makefile.build:284: recipe for target
> '/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
>make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o]
> Error 1
>make[5]: *** Waiting for unfinished jobs
>In file included from
> /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
> from
> /var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function
> ‘gethrestime’:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit
> declaration of function ‘current_kernel_time’; did you mean ‘current_time’?
> [-Werror=implicit-function-declaration]
>  *now = current_kernel_time();
> ^~~
> current_time
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error:
> incompatible types when assigning to type ‘timestruc_t {aka struct
> timespec}’ from type ‘int’
>  *now = current_kernel_time();
>   ^
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function
> ‘gethrestime_sec’:
>/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error:
> incompatible types when assigning to type ‘struct timespec’ from type ‘int’
>  ts = current_kernel_time();
> ^
>  CC [M]  /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
>cc1: some warnings being treated as errors
>scripts/Makefile.build:284: recipe for target
> '/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
>make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o]
> Error 1
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1853130/+subscriptions
>

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1853130

Title:
  zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic

Status in zfs-linux package in Ubuntu:
  Won't Fix

Bug description:
  zfs-dkms- Fail build  with kernel 5.0.0-36-generic 
  cripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
   make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o] Error 1
   make[5]: *** Waiting for unfinished jobs
   In file included from /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
from 
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function ‘gethrestime’:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit 
declaration of function ‘current_kernel_time’; did you mean ‘current_time’? 
[-Werror=implicit-function-declaration]
 *now = current_kernel_time();
^~~
current_time
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error: incompatible 
types when assigning to type ‘timestruc_t {aka struct timespec}’ from type ‘int’
 *now = current_kernel_time();
  ^
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function 
‘gethrestime_sec’:
   /var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error: incompatible 
types when assigning to type ‘struct timespec’ from type ‘int’
 ts = current_kernel_time();
^
 CC [M]  /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
   cc1: some warnings being treated as errors
   scripts/Makefile.build:284: recipe for target 
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
   make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1853130/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Kernel-packages] [Bug 1722261] Re: deadlock in mount umount and sync

2018-04-13 Thread alberto fiaschi
the cause are some smbd processes in state D
the block happens randomly with a frequency of about 3 months.



*«L'immaginazione è più importante della conoscenza.» - Albert
Einstein.*


*Alberto M.Fiaschi*


*http://it.linkedin.com/pub/alberto-fiaschi
<http://it.linkedin.com/pub/alberto-fiaschi/38/783/a5> *

2018-04-12 19:01 GMT+02:00 Colin Ian King <1722...@bugs.launchpad.net>:

> Is this still and issue for you?
>
> You may be able to identify the processes that are causing the problem
> using the fuser command, e.g. on mounted zfs file system /poolname use:
>
> fuser -vm /poolname
>
> maybe that helps.
>
>
>
> ** Changed in: zfs-linux (Ubuntu)
>Status: New => Incomplete
>
> ** Changed in: zfs-linux (Ubuntu)
>Importance: Undecided => Low
>
> ** Changed in: zfs-linux (Ubuntu)
>  Assignee: (unassigned) => Colin Ian King (colin-king)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1722261
>
> Title:
>   deadlock in mount umount and sync
>
> Status in zfs-linux package in Ubuntu:
>   Incomplete
>
> Bug description:
>   I use zfs vesion  0.6.5.6  on  Ubuntu 16.04.2 LTS . I have  many zombie
> process on auto-mount of snapshot and on sync !
>   903 process are   in deadlock.  i can't mount a new file system or
> snapshot . Partial output of ps alx |grep 'call_r D'  below .
>
>   what is the cause? what can I do ?
>
>   0 0   2371  1  20   0   6016   752 call_r D?  0:00
> /bin/sync
>   0 0  15290  1  20   0   6016   676 call_r D?  0:00
> /bin/sync
>   0 0  18919  1  20   0   6016   708 call_r D?  0:00
> /bin/sync
>   0 0  27076  1  20   0   6016   808 call_r D?  0:00
> /bin/sync
>   4 0  31976  1  20   0  22084  1344 call_r D?  0:00
> umount -t zfs -n /samba/shares/Aat/.zfs/snapshot/2017-10-04_09.00.05--5d
>
>   error in kern.log:
>   9 13:20:28 zfs-cis kernel: [5368563.592834] WARNING: Unable to automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256
>   Oct  9 13:20:28 zfs-cis kernel: [5368563.597868] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256
>   Oct  9 13:20:28 zfs-cis kernel: [5368563.601730] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.187001] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.13] WARNING: Unable to
> automount /samba/shares/Cardiologia2/.zfs/snapshot/2017-10-03_12.00.
> 03--5d/pool_z2_samba/shares/Cardiologia2@2017-10-03_12.00.03--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.15] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.189005] WARNING: Unable to
> automount /samba/shares/Aat/.zfs/snapshot/2017-10-03_20.00.04--
> 5d/pool_z2_samba/shares/Aat@2017-10-03_20.00.04--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.190105] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.192847] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.193617] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.198096] WARNING: Unable to
> automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--
> 5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256
>
>
>
>   in syslog :
>
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/
> systemd1/unit/samba_2dshares_2dChtrapianti_2emount
> interface=org.freedesktop.DBus.Properties member=GetAll cookie=155
> reply_cookie=0 error=n/a
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got mes

Re: [Kernel-packages] [Bug 1723948] Re: error -lock in zfs send

2018-04-13 Thread alberto fiaschi
2018-04-12 18:22 GMT+02:00 Colin Ian King <1723...@bugs.launchpad.net>:

> This stack trace was also reported in bug
> https://github.com/zfsonlinux/zfs/issues/6917 in log
> https://github.com/zfsonlinux/zfs/files/1686101/kern.log.2.gz
>
> Is this issue still occurring?
>
yes

>
> 1. what is your ZFS configuration (number of drives?)
>
pool : 2 vdev of  6 hd 8T +2 mirror ssd for zil + 2 ssd for cache(
model :  hd = ST8000NM0075zil=INTEL SSDSC2BA20  cache=SSDSC2BB480G7R)

Dedub on
compression   lz4
different filesystem:  184
used: 48T
free:24T
(look at end for command output)


> 2. size of your system (total memory, free memory).
>
free
  totalusedfree  shared  buff/cache
available
Mem:  1317846844136567610998624   6502879420384
21031972
Swap:  62467068   3303662434032


> 3. Do your drive(s) suffer from large I/O latencies?
>- what is the output from iostat -mx when you are loading the system
> when issues like this occur?
>

yes, now   i can put output in normal condition
iostat -xmd 20
Device: rrqm/s   wrqm/s r/s w/srMB/swMB/s avgrq-sz
avgqu-sz   await r_await w_await  svctm  %util
sda   0,0020,750,00   78,35 0,00 0,92
24,16 4,81   61,400,00   61,40   1,15   9,04
sdb   0,0020,750,00   78,25 0,00 0,92
24,18 4,70   60,050,00   60,05   1,18   9,24
sdc   0,00 0,000,000,00 0,00 0,00
0,00 0,000,000,000,00   0,00   0,00
md2   0,00 0,000,00   98,40 0,00 0,92
19,19 0,000,000,000,00   0,00   0,00
md1   0,00 0,000,000,00 0,00 0,00
0,00 0,000,000,000,00   0,00   0,00
md0   0,00 0,000,000,00 0,00 0,00
0,00 0,000,000,000,00   0,00   0,00
sdd   0,00 0,000,000,00 0,00 0,00
0,00 0,000,000,000,00   0,00   0,00
sde   0,00 0,00   25,707,75 0,06 0,07
8,43 0,010,280,200,52   0,17   0,56
sdf   0,00 0,00   24,257,75 0,07 0,07
9,33 0,000,130,120,15   0,10   0,32
sdg   0,00 0,00   10,60   56,45 0,11 0,44
16,58 0,273,98   15,571,80   0,80   5,38
sdh   0,00 0,002,60   60,25 0,04 0,46
16,26 0,131,99   18,001,30   0,44   2,78
sdi   0,00 0,001,85   55,30 0,04 0,43
16,85 0,122,03   17,621,50   0,41   2,34
sdj   0,00 0,00   11,10   53,85 0,10 0,44
17,21 0,294,40   16,541,90   0,91   5,94
sdk   0,00 0,003,50   55,90 0,05 0,45
17,49 0,132,26   15,031,46   0,57   3,38
sdl   0,00 0,002,40   53,80 0,05 0,43
17,49 0,132,28   18,921,54   0,50   2,80
sdn   0,00 0,00   11,90   64,80 0,08 0,47
14,83 0,395,11   14,623,36   0,95   7,28
sdm   0,00 0,002,70   66,40 0,04 0,47
15,11 0,223,23   18,592,61   0,49   3,38
sdo   0,00 0,005,25   69,50 0,08 0,49
15,45 0,334,44   17,943,42   0,67   4,98
sdp   0,00 0,002,90   64,40 0,05 0,46
15,44 0,223,25   16,282,66   0,53   3,54
sdr   0,00 0,004,95   71,90 0,08 0,49
15,16 0,293,72   18,462,71   0,59   4,50
sdq   0,00 0,00   10,80   65,35 0,09 0,46
14,70 0,324,19   14,302,52   0,81   6,16


zpool status
  pool: pool_z2_samba
 state: ONLINE
  scan: scrub canceled on Fri Jun  9 23:05:34 2017
config:

NAMESTATE READ WRITE CKSUM
pool_z2_samba  ONLINE   0 0 0
  raidz2-0  ONLINE   0 0 0
sdg ONLINE   0 0 0
sdh ONLINE   0 0 0
sdi ONLINE   0 0 0
sdj ONLINE   0 0 0
sdk ONLINE   0 0 0
sdl ONLINE   0 0 0
  raidz2-1  ONLINE   0 0 0
sdm ONLINE   0 0 0
sdn ONLINE   0 0 0
sdo ONLINE   0 0 0
sdp ONLINE   0 0 0
sdq ONLINE   0 0 0
sdr ONLINE   0 0 0
logs
  mirror-2  ONLINE   0 0 0
sdc ONLINE   0 0 0
sdd ONLINE   0 0 0
cache
  sde   ONLINE   0 0 0
  sdf   ONLINE   0 0 0

errors: No known data errors


/zfsArcStat.sh
6 1 0x01 91 4368 11499012490 5672030587716117
nametype data
hits44064503798
misses  41252909719
demand_data_hits

Re: [Kernel-packages] [Bug 1722261] Re: deadlock in mount umount and sync

2018-04-24 Thread alberto fiaschi
I change zil_slog_limit.
It's a lot that the problem not come back.


Il mar 24 apr 2018, 17:41 Colin Ian King <1722...@bugs.launchpad.net> ha
scritto:

> @Aleberto, any feedback from comment #5 would be appreciated.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1722261
>
> Title:
>   deadlock in mount umount and sync
>
> Status in zfs-linux package in Ubuntu:
>   Incomplete
>
> Bug description:
>   I use zfs vesion  0.6.5.6  on  Ubuntu 16.04.2 LTS . I have  many zombie
> process on auto-mount of snapshot and on sync !
>   903 process are   in deadlock.  i can't mount a new file system or
> snapshot . Partial output of ps alx |grep 'call_r D'  below .
>
>   what is the cause? what can I do ?
>
>   0 0   2371  1  20   0   6016   752 call_r D?  0:00
> /bin/sync
>   0 0  15290  1  20   0   6016   676 call_r D?  0:00
> /bin/sync
>   0 0  18919  1  20   0   6016   708 call_r D?  0:00
> /bin/sync
>   0 0  27076  1  20   0   6016   808 call_r D?  0:00
> /bin/sync
>   4 0  31976  1  20   0  22084  1344 call_r D?  0:00
> umount -t zfs -n /samba/shares/Aat/.zfs/snapshot/2017-10-04_09.00.05--5d
>
>   error in kern.log:
>   9 13:20:28 zfs-cis kernel: [5368563.592834] WARNING: Unable to automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
> 256
>   Oct  9 13:20:28 zfs-cis kernel: [5368563.597868] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
> 256
>   Oct  9 13:20:28 zfs-cis kernel: [5368563.601730] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.187001] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.13] WARNING: Unable to
> automount
> /samba/shares/Cardiologia2/.zfs/snapshot/2017-10-03_12.00.03--5d/pool_z2_samba/shares/Cardiologia2@2017-10-03_12.00.03--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.15] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.189005] WARNING: Unable to
> automount
> /samba/shares/Aat/.zfs/snapshot/2017-10-03_20.00.04--5d/pool_z2_samba/shares/Aat@2017-10-03_20.00.04--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.190105] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.192847] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.193617] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
> 256
>   Oct  9 13:22:57 zfs-cis kernel: [5368713.198096] WARNING: Unable to
> automount
> /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
> 256
>
>
>
>   in syslog :
>
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount
> interface=org.freedesktop.DBus.Properties member=GetAll cookie=155
> reply_cookie=0 error=n/a
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount
> interface=org.freedesktop.DBus.Properties member=GetAll cookie=202
> reply_cookie=0 error=n/a
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount
> interface=org.freedesktop.DBus.Properties member=GetAll cookie=260
> reply_cookie=0 error=n/a
>   Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount
> interface=org.freedesktop.DBus.Properties member=GetAll cookie=291
> reply_cookie=0 error=n/a
>   Oct  9 12:22:13 zfs-cis systemd[1]: Got message type=method_call
> sender=n/a destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_

[Kernel-packages] [Bug 1722261] [NEW] deadlock in mount umount and sync

2017-10-09 Thread alberto fiaschi
Public bug reported:

I use zfs vesion  0.6.5.6  on  Ubuntu 16.04.2 LTS . I have  many zombie process 
on auto-mount of snapshot and on sync !
903 process are   in deadlock.  i can't mount a new file system or snapshot . 
Partial output of ps alx |grep 'call_r D'  below .

what is the cause? what can I do ?

0 0   2371  1  20   0   6016   752 call_r D?  0:00 /bin/sync
0 0  15290  1  20   0   6016   676 call_r D?  0:00 /bin/sync
0 0  18919  1  20   0   6016   708 call_r D?  0:00 /bin/sync
0 0  27076  1  20   0   6016   808 call_r D?  0:00 /bin/sync
4 0  31976  1  20   0  22084  1344 call_r D?  0:00 umount 
-t zfs -n /samba/shares/Aat/.zfs/snapshot/2017-10-04_09.00.05--5d

error in kern.log:
9 13:20:28 zfs-cis kernel: [5368563.592834] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
Oct  9 13:20:28 zfs-cis kernel: [5368563.597868] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
Oct  9 13:20:28 zfs-cis kernel: [5368563.601730] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.187001] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.13] WARNING: Unable to automount 
/samba/shares/Cardiologia2/.zfs/snapshot/2017-10-03_12.00.03--5d/pool_z2_samba/shares/Cardiologia2@2017-10-03_12.00.03--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.15] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.189005] WARNING: Unable to automount 
/samba/shares/Aat/.zfs/snapshot/2017-10-03_20.00.04--5d/pool_z2_samba/shares/Aat@2017-10-03_20.00.04--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.190105] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.192847] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.193617] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
 256
Oct  9 13:22:57 zfs-cis kernel: [5368713.198096] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
 256


in syslog :

Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount 
interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 
reply_cookie=0 error=n/a
Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount
 interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 
reply_cookie=0 error=n/a
Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount
 interface=org.freedesktop.DBus.Properties member=GetAll cookie=260 
reply_cookie=0 error=n/a
Oct  9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount 
interface=org.freedesktop.DBus.Properties member=GetAll cookie=291 
reply_cookie=0 error=n/a
Oct  9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount 
interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 
reply_cookie=0 error=n/a
Oct  9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount
 interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 
reply_cookie=0 error=n/a
Oct  9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount
 interface=org.freedesktop.DBus.Properties mem

[Kernel-packages] [Bug 1723948] [NEW] error -lock in zfs send

2017-10-16 Thread alberto fiaschi
Public bug reported:

zfs send stop working. the process did not produce output. checked by
mbuffer log

in kernel.log: 
Oct 15 07:25:53 zfs-cis kernel: [479439.151281] INFO: task zfs:8708 blocked for 
more than 120 seconds.
Oct 15 07:25:53 zfs-cis kernel: [479439.156980]   Tainted: P   OE   
4.4.0-96-generic #119-Ubuntu
Oct 15 07:25:53 zfs-cis kernel: [479439.162688] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 15 07:25:53 zfs-cis kernel: [479439.173974] zfs D 
88197bd77318 0  8708   8141 0x
Oct 15 07:25:53 zfs-cis kernel: [479439.173981]  88197bd77318 
810c3dc2 8820374cf000 881b645ff000
Oct 15 07:25:53 zfs-cis kernel: [479439.173985]  88197bd78000 
00792c6d 882030aa4ac8 
Oct 15 07:25:53 zfs-cis kernel: [479439.173989]  88101dac1840 
88197bd77330 8183f165 882030aa4a00
Oct 15 07:25:53 zfs-cis kernel: [479439.173993] Call Trace:
Oct 15 07:25:53 zfs-cis kernel: [479439.174006]  [] ? 
__wake_up_common+0x52/0x90
Oct 15 07:25:53 zfs-cis kernel: [479439.174023]  [] 
schedule+0x35/0x80
Oct 15 07:25:53 zfs-cis kernel: [479439.174045]  [] 
taskq_wait_id+0x60/0xb0 [spl]
Oct 15 07:25:53 zfs-cis kernel: [479439.174051]  [] ? 
wake_atomic_t_function+0x60/0x60
Oct 15 07:25:53 zfs-cis kernel: [479439.174115]  [] ? 
dump_write+0x230/0x230 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174178]  [] 
spa_taskq_dispatch_sync+0x92/0xd0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174223]  [] 
dump_bytes+0x51/0x70 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174267]  [] 
dump_write+0x11e/0x230 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174311]  [] 
backup_cb+0x633/0x850 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174356]  [] 
traverse_visitbp+0x47a/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174365]  [] ? 
spl_kmem_alloc+0xaf/0x190 [spl]
Oct 15 07:25:53 zfs-cis kernel: [479439.174409]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174462]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174503]  [] 
traverse_dnode+0x7f/0xe0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174542]  [] 
traverse_visitbp+0x6cc/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174579]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174616]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174653]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174690]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174726]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174762]  [] 
traverse_visitbp+0x5c0/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174799]  [] 
traverse_dnode+0x7f/0xe0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174835]  [] 
traverse_visitbp+0x865/0x960 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174871]  [] 
traverse_impl+0x1ae/0x410 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174908]  [] ? 
dmu_recv_end_check+0x210/0x210 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174944]  [] 
traverse_dataset+0x52/0x60 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.174981]  [] ? 
dmu_recv_end_check+0x210/0x210 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.175017]  [] 
dmu_send_impl+0x409/0x560 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.175060]  [] 
dmu_send_obj+0x172/0x1e0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.175129]  [] 
zfs_ioc_send+0xe9/0x2c0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.175143]  [] ? 
strdup+0x3b/0x60 [spl]
Oct 15 07:25:53 zfs-cis kernel: [479439.175207]  [] 
zfsdev_ioctl+0x44b/0x4e0 [zfs]
Oct 15 07:25:53 zfs-cis kernel: [479439.175218]  [] 
do_vfs_ioctl+0x29f/0x490
Oct 15 07:25:53 zfs-cis kernel: [479439.175225]  [] ? 
_do_fork+0xec/0x360
Oct 15 07:25:53 zfs-cis kernel: [479439.175232]  [] 
SyS_ioctl+0x79/0x90
Oct 15 07:25:53 zfs-cis kernel: [479439.175242]  [] 
entry_SYSCALL_64_fastpath+0x16/0x71

** Affects: zfs-linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1723948

Title:
  error -lock in zfs send

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  zfs send stop working. the process did not produce output. checked by
  mbuffer log

  in kernel.log: 
  Oct 15 07:25:53 zfs-cis kernel: [479439.151281] INFO: task zfs:8708 blocked 
for more than 120 seconds.
  Oct 15 07:25:53 zfs-cis kernel: [479439.156980]   Tainted: P   OE 
  4.4.0-96-generic #119-Ubuntu
  Oct 15 07:25:53 zfs-cis kernel: [479439.162688] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
  Oct 15 07:25:53 zfs-cis kernel: [479439.173974] zfs D 
88197bd77318 0  8708   8141 0x
  Oct 15 07:25:53 zfs-cis kernel: [479439.173981] 

[Kernel-packages] [Bug 1722261] Re: deadlock in mount umount and sync

2018-01-23 Thread alberto fiaschi
Another lock. Several smbd processes hold lock-up files. Impossible to kill 
them because they are in state D. Failed to restart samba and make file system 
umount.
smbd process stack:
[] cv_wait_common+0x10b/0x140 [spl]
[] __cv_wait+0x15/0x20 [spl]
[] zfs_dirent_lock+0x175/0x590 [zfs]
[] zfs_get_xattrdir+0x12b/0x1b0 [zfs]
[] zfs_lookup+0x1c4/0x310 [zfs]
[] zpl_xattr_get_dir+0x64/0x110 [zfs]
[] zpl_xattr_get+0xbb/0x1a0 [zfs]
[] zpl_xattr_user_get+0x5f/0x80 [zfs]
[] generic_getxattr+0x4b/0x70
[] vfs_getxattr+0x88/0xb0
[] getxattr+0xa8/0x200
[] path_getxattr+0x65/0xb0
[] SyS_getxattr+0x14/0x20
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x

smbd status:
Name:   smbd
State:  D (disk sleep)
Tgid:   451
Ngid:   451
Pid:451
PPid:   1
TracerPid:  0
Uid:65534   65534   0   65534
Gid:0   36080   3608
FDSize: 64
Groups: 65534 
NStgid: 451
NSpid:  451
NSpgid: 74623
NSsid:  74623
VmPeak:   482860 kB
VmSize:   482860 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 22528 kB
VmRSS: 19760 kB
VmData:   100048 kB
VmStk:   132 kB
VmExe:64 kB
VmLib: 33124 kB
VmPTE:   720 kB
VmPMD:16 kB
VmSwap:0 kB
HugetlbPages:  0 kB
Threads:1
SigQ:   412/514626
SigPnd: 0100
ShdPnd: 4100
SigBlk: 1880
SigIgn: 2000
SigCgt: 000580014461
CapInh: 
CapPrm: 003f
CapEff: 
CapBnd: 003f
CapAmb: 
Seccomp:0
Cpus_allowed:   ,,,,,
Cpus_allowed_list:  0-191
Mems_allowed:   ,0003
Mems_allowed_list:  0-1
voluntary_ctxt_switches:121
nonvoluntary_ctxt_switches: 299

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1722261

Title:
  deadlock in mount umount and sync

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  I use zfs vesion  0.6.5.6  on  Ubuntu 16.04.2 LTS . I have  many zombie 
process on auto-mount of snapshot and on sync !
  903 process are   in deadlock.  i can't mount a new file system or snapshot . 
Partial output of ps alx |grep 'call_r D'  below .

  what is the cause? what can I do ?

  0 0   2371  1  20   0   6016   752 call_r D?  0:00 
/bin/sync
  0 0  15290  1  20   0   6016   676 call_r D?  0:00 
/bin/sync
  0 0  18919  1  20   0   6016   708 call_r D?  0:00 
/bin/sync
  0 0  27076  1  20   0   6016   808 call_r D?  0:00 
/bin/sync
  4 0  31976  1  20   0  22084  1344 call_r D?  0:00 umount 
-t zfs -n /samba/shares/Aat/.zfs/snapshot/2017-10-04_09.00.05--5d

  error in kern.log:
  9 13:20:28 zfs-cis kernel: [5368563.592834] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
  Oct  9 13:20:28 zfs-cis kernel: [5368563.597868] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
  Oct  9 13:20:28 zfs-cis kernel: [5368563.601730] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.187001] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.13] WARNING: Unable to automount 
/samba/shares/Cardiologia2/.zfs/snapshot/2017-10-03_12.00.03--5d/pool_z2_samba/shares/Cardiologia2@2017-10-03_12.00.03--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.15] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.189005] WARNING: Unable to automount 
/samba/shares/Aat/.zfs/snapshot/2017-10-03_20.00.04--5d/pool_z2_samba/shares/Aat@2017-10-03_20.00.04--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.190105] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.192847] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.193617] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d:
 256
  Oct  9 13:22:57 zfs-cis kernel: [5368713.198096] WARNING: Unable to automount 
/samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--