Project

General

Profile

Actions

Bug #3566

closed

recursive mutex panic in specfs

Added by Christopher Siden over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-02-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

From George Wilson's original bug report at Delphix:

While running zfs tests I hit this panic:

panic[cpu12]/thread=ffffff077a0810c0: 
recursive mutex_enter, lp=fffffffffc03e3b0 owner=ffffff077a0810c0
thread=ffffff0
77a0810c0

ffffff002fff95d0 unix:mutex_panic+73 ()
ffffff002fff9640 unix:mutex_vector_enter+1d3 ()
ffffff002fff97e0 specfs:spec_inactive+4f ()
ffffff002fff9830 genunix:fop_inactive+af ()
ffffff002fff9850 genunix:vn_rele+5f ()
ffffff002fff9890 specfs:spec_size_invalidate+62 ()
ffffff002fff98d0 zfs:zvol_size_changed+8f ()
ffffff002fff9920 zfs:zvol_first_open+b1 ()
ffffff002fff9970 zfs:zvol_open+64 ()
ffffff002fff99d0 zfs:zfsdev_open+7e ()
ffffff002fff9a00 genunix:dev_open+3c ()
ffffff002fff9ab0 specfs:spec_open+612 ()
ffffff002fff9b20 genunix:fop_open+bf ()
ffffff002fff9ce0 genunix:vn_openat+6aa ()
ffffff002fff9e50 genunix:copen+4a9 ()
ffffff002fff9e80 genunix:openat64+2d ()
ffffff002fff9eb0 genunix:open64+2e ()
ffffff002fff9f00 unix:brand_sys_sysenter+2b7 ()

We should be using VN_RELE_ASYNC() in spec_size_invalidate() to avoid hitting
this.
Actions #1

Updated by Christopher Siden over 9 years ago

  • Status changed from In Progress to Closed
commit 16a4a80
Author: George Wilson <george.wilson@delphix.com>
Date:   Tue Feb 19 14:15:41 2013

    3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread
    3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing)
    3566 recursive mutex panic in specfs
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>
Actions

Also available in: Atom PDF