Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530096 - ZFS hangs on destroy (FS with lots of xattr usage)
Summary: ZFS hangs on destroy (FS with lots of xattr usage)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-22 04:24 UTC by Markus Hauschild
Modified: 2014-12-01 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
additional info (zpool status, zfs get all, top) (add-info.txt,11.98 KB, text/plain)
2014-11-22 11:50 UTC, Markus Hauschild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Hauschild 2014-11-22 04:24:38 UTC
# zfs destroy tankZ/backup/test
hangs for a very long time, the filesystem has lots of xattr usage

top shows this process on top:
1053 root       0 -20       0      0      0 R 100.0  0.0  23:12.81 zfs_iput_taskq/

Reproducible: Always

Steps to Reproduce:
1. create ZFS filesystem
2. rsync a log of files with --fake-super (resulting in each file having xattr set)
3. detroy ZFS filesystem
Actual Results:  
sometimes it works, sometimes it hangs (destroying two such filesystems shortly after another is a good trigger)

Expected Results:  
no hangs

might be related to http://www.mattzone.com/zfsonlinux/zfsonlinux_20141009.html - conversation between jhc76 and ryao
Comment 1 Markus Hauschild 2014-11-22 11:50:34 UTC
Created attachment 390046 [details]
additional info (zpool status, zfs get all, top)
Comment 2 Richard Yao (RETIRED) gentoo-dev 2014-12-01 08:16:57 UTC
This should be fixed in 0.6.3-r1.