From owner-freebsd-fs@FreeBSD.ORG Thu Jul 24 13:36:54 2014 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16A8485B; Thu, 24 Jul 2014 13:36:54 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAA8220D5; Thu, 24 Jul 2014 13:36:53 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id m1so3632116oag.35 for ; Thu, 24 Jul 2014 06:36:53 -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=QTzRWoJnXUlecfr3oVOKQeLBkad2K287uggRdvysHr4=; b=E2Zr98cQG+ZXfLamkM0Tiv80CASkiYMGXjNtD9UxvoM/hd9IvuCYqWAhCyR9zqk6Db NB4+FVQwry7KfSjK6CeLxusz0AGjTzkVcSjATcYCLM5zT3biWpFN9+B+D00T2h3tTmd9 B5X1tZDATw+xUUA5P8KGTMzUWFUZKzNrzKywr85Y0taxK1mXS5TOt/MEd5xm6Tnp6FR4 1/KAGueCajJACQPEU+4eEj80bTXL0ink0yQIKHyfcyDBe/kXFOqSrsalZ1436Z1YWDiB ZbZMhfbw8GRFsQQLnv1Tn5weoIq78HdKB+NMvCKWwJQGgxYK33gAs9SQrD6Zwu86uLEC tHdg== MIME-Version: 1.0 X-Received: by 10.60.132.176 with SMTP id ov16mr13096051oeb.13.1406209012781; Thu, 24 Jul 2014 06:36:52 -0700 (PDT) Received: by 10.76.213.7 with HTTP; Thu, 24 Jul 2014 06:36:52 -0700 (PDT) In-Reply-To: <53CED455.1030701@FreeBSD.org> References: <53CED455.1030701@FreeBSD.org> Date: Thu, 24 Jul 2014 09:36:52 -0400 Message-ID: Subject: Re: NFS DEADLKRES panic with getfsstat() on unresponsive mount From: Ryan Stone To: Bryan Drewery Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 13:36:54 -0000 On Tue, Jul 22, 2014 at 5:15 PM, Bryan Drewery wrote: > I had an NFS server go offline for about an hour and had a client panic in > deadlkres after a 'zfs list -o mounted' ran which called getfsstat(2). It > seems reasonable that this could be a false-positive. Is deadlkres known to > have acceptable false-positives? If so, is there a way to mark this one to > not cause a panic? > > This was r268621. There is a list of "blessed" sx lock names in sys/kern/kern_clock.c. deadlkres will ignore any threads sleeping with one of those wmesgs.