]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r284593: MFV r284412: 5911 ZFS "hangs" while deleting file
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Jul 2015 10:41:29 +0000 (10:41 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Jul 2015 10:41:29 +0000 (10:41 +0000)
commitd7b3e25c7c4399787e58d6e00582523bc221a596
treec7e1cd19bde4d4c1fedcf70197514bccdc43f5de
parent6225fd402abbff793c688f936a613a443811feb9
MFC r284593: MFV r284412: 5911 ZFS "hangs" while deleting file

illumos/illumos-gate@46e1baa6cf6d5432f5fd231bb588df8f9570c858
https://www.illumos.org/issues/5911
Sometimes ZFS appears to hang while deleting a file. It is actually
making slow progress at the file deletion, but other operations
(administrative and writes via the data path) "hang" until the file
removal completes, which can take a long time if the file has many
blocks. The deletion (or most of it) happens in a single txg, and the
sync thread spends most of its time reading indirect blocks...

Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

PR: 199775

git-svn-id: svn://svn.freebsd.org/base/stable/9@285203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dbuf.h