From owner-freebsd-fs@FreeBSD.ORG Sun Sep 1 01:26:02 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 81186BFF; Sun, 1 Sep 2013 01:26:02 +0000 (UTC) (envelope-from kuangche@gmail.com) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40DC12DE0; Sun, 1 Sep 2013 01:26:02 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id es8so3341315obc.28 for ; Sat, 31 Aug 2013 18:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7yamaM1pKwR3D/bf+SRHsg769FRX5f18fzCTnABb8sI=; b=dZ0BakHAUcEVmaOhNxmaWdCovJCRhHTHlrF4rO3lGW0GlJ0DHN7wTWwAGOY5OQB869 iEeNOVoxGu8vHlSDgsFxkJssc8ECLRBa5nfSsBWqYWJ7f6/Ds+PHTDS0J442q23jclWX AJ1sp7DZp9OZJwL2MavFNc3s+G16Wt7F1MB8fGDSLuXxVRNJd5a0VlxBbYQ0woQIWFfz PTHjWCtHsCtreMNpjA0OmU53E7h8xlIaaDa1FIfo8E9WTZHcaMVp2PhTn5TbQkorH5jT RWSLOqllcyCppl701MOwCIjfwlVJ6Z8p625sNOrEtYihsZMNpyGIvtpH2Sm3W6NIZQC8 LFfA== MIME-Version: 1.0 X-Received: by 10.60.62.101 with SMTP id x5mr12143486oer.24.1377998760924; Sat, 31 Aug 2013 18:26:00 -0700 (PDT) Received: by 10.76.167.7 with HTTP; Sat, 31 Aug 2013 18:26:00 -0700 (PDT) In-Reply-To: <521F1B74.7020402@FreeBSD.org> References: <521F1B74.7020402@FreeBSD.org> Date: Sun, 1 Sep 2013 09:26:00 +0800 Message-ID: Subject: Re: zfs dead lock From: Kuang-che Wu To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 01:26:02 -0000 2013/8/29 Andriy Gapon > on 15/08/2013 21:36 Kuang-che Wu said the following: > > I suspect I encountered zfs deadlock yesterday. > > Thank you very much for the report! And sorry for the delay. > Do you still have this locked up system? > Or are you able to reproduce the lock up? > I would like to examine some things with kgdb. After few days of the deadlock, I found my hard drive has bad sectors and the number is increasing. I replaced the drive and no more dead locks. I suspect the dead locks were triggered by slow disk i/o.