From owner-freebsd-fs@FreeBSD.ORG Sat Jan 24 23:13:56 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10A1A96 for ; Sat, 24 Jan 2015 23:13:56 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (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 855B3EA9 for ; Sat, 24 Jan 2015 23:13:55 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id l4so2853369lbv.3 for ; Sat, 24 Jan 2015 15:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=OIlXiK9HQGKoCO2nY7Iq9URNCrYOqZ4GtvSRQx/k60M=; b=kbtkiya5zbCGcSC0+ZDHfcfqEFw/ZTK3Vn0o10UrS8gCSrxfy71iTP1RRx2aMgtqG7 keijVoG7TW7Hhxpd60hEhJis+uGqUmOdu/SS1ZYQSlELKF0DA8BBgfoMjGjYYhJOvaqi ITqQ2LtQvMdTXDaaznvq2eicarRpb+nuL4zlEsV6mVgtMK0OedyfUFmV17JugKkbf7Yh ffv0FI4k0JIUBfKCxzoU1EU7HCsWNulmH4DE6dhro1vFUp8fDFVQNw5f+7tjMHD3oRn7 QtA+XvU94pHc2qVkt//53qyGtn144rQplEv2w6+ojKhBsMew6+8fB75YyqLh+SCTg0Wx sOTg== X-Received: by 10.112.144.136 with SMTP id sm8mr14303311lbb.95.1422141233725; Sat, 24 Jan 2015 15:13:53 -0800 (PST) Received: from [10.0.1.7] (broadband-5-228-253-40.nationalcablenetworks.ru. [5.228.253.40]) by mx.google.com with ESMTPSA id cj6sm1467241lad.38.2015.01.24.15.13.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 Jan 2015 15:13:52 -0800 (PST) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: LORs Message-Id: <051EA814-B073-43D9-9603-A1F095880063@gmail.com> Date: Sun, 25 Jan 2015 02:13:51 +0300 To: freebsd-fs@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2015 23:13:56 -0000 Hello! I have a FreeBSD-10/stable box (r276908) with UFS partitions: tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) disabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled I am observing the following LORs: lock order reversal: 1st 0xfffffe0baf12f1c0 bufwait (bufwait) @ = /opt/WRK/src/sys/kern/vfs_bio.c:3065 2nd 0xfffff800112db800 dirhash (dirhash) @ = /opt/WRK/src/sys/ufs/ufs/ufs_dirhash .c:284 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe0c57fd5380 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe0c57fd5430 witness_checkorder() at witness_checkorder+0xc04/frame = 0xfffffe0c57fd54b0 _sx_xlock() at _sx_xlock+0x47/frame 0xfffffe0c57fd54f0 ufsdirhash_add() at ufsdirhash_add+0x3a/frame 0xfffffe0c57fd5530 ufs_direnter() at ufs_direnter+0x6a0/frame 0xfffffe0c57fd55f0 ufs_makeinode() at ufs_makeinode+0x46e/frame 0xfffffe0c57fd57b0 ufs_create() at ufs_create+0x2d/frame 0xfffffe0c57fd57d0 VOP_CREATE_APV() at VOP_CREATE_APV+0xa1/frame 0xfffffe0c57fd5800 vn_open_cred() at vn_open_cred+0x359/frame 0xfffffe0c57fd5960 kern_openat() at kern_openat+0x23a/frame 0xfffffe0c57fd5ae0 amd64_syscall() at amd64_syscall+0x244/frame 0xfffffe0c57fd5bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0c57fd5bf0 --- syscall (5, FreeBSD ELF64, sys_open), rip =3D 0x80095c5ba, rsp =3D = 0x7fffffffe8b8, rbp =3D 0x7fffffffea50 --- lock order reversal: 1st 0xfffff801245929a0 ufs (ufs) @ = /opt/WRK/src/sys/kern/vfs_subr.c:2157 2nd 0xfffffe0baf13f138 bufwait (bufwait) @ = /opt/WRK/src/sys/ufs/ffs/ffs_vnops.c:262 3rd 0xfffff80124595240 ufs (ufs) @ = /opt/WRK/src/sys/kern/vfs_subr.c:2157 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe0c580861e0 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe0c58086290 witness_checkorder() at witness_checkorder+0xc04/frame = 0xfffffe0c58086310 __lockmgr_args() at __lockmgr_args+0x738/frame 0xfffffe0c58086440 ffs_lock() at ffs_lock+0x84/frame 0xfffffe0c58086490 VOP_LOCK1_APV() at VOP_LOCK1_APV+0xab/frame 0xfffffe0c580864c0 _vn_lock() at _vn_lock+0x43/frame 0xfffffe0c58086520 vget() at vget+0x5b/frame 0xfffffe0c58086560 vfs_hash_get() at vfs_hash_get+0xe1/frame 0xfffffe0c580865b0 ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe0c58086640 softdep_sync_buf() at softdep_sync_buf+0x919/frame 0xfffffe0c58086720 ffs_syncvnode() at ffs_syncvnode+0x226/frame 0xfffffe0c580867a0 ffs_sync() at ffs_sync+0x20f/frame 0xfffffe0c58086860 vfs_write_suspend() at vfs_write_suspend+0x17a/frame 0xfffffe0c580868a0 vfs_write_suspend_umnt() at vfs_write_suspend_umnt+0x1c/frame = 0xfffffe0c580868d0 ffs_unmount() at ffs_unmount+0x58/frame 0xfffffe0c58086930 dounmount() at dounmount+0x409/frame 0xfffffe0c580869b0 sys_unmount() at sys_unmount+0x2bc/frame 0xfffffe0c58086ae0 amd64_syscall() at amd64_syscall+0x244/frame 0xfffffe0c58086bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0c58086bf0 --- syscall (22, FreeBSD ELF64, sys_unmount), rip =3D 0x80088f64a, rsp =3D= 0x7fffffffe198, rbp =3D 0x7fffffffe2b0 --- lock order reversal: 1st 0xfffff8001338fd50 ufs (ufs) @ = /opt/WRK/src/sys/kern/vfs_mount.c:1223 2nd 0xfffff8001334e418 devfs (devfs) @ = /opt/WRK/src/sys/ufs/ffs/ffs_vfsops.c:1375 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe0c58086500 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe0c580865b0 witness_checkorder() at witness_checkorder+0xc04/frame = 0xfffffe0c58086630 __lockmgr_args() at __lockmgr_args+0x738/frame 0xfffffe0c58086760 vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe0c58086780 VOP_LOCK1_APV() at VOP_LOCK1_APV+0xab/frame 0xfffffe0c580867b0 _vn_lock() at _vn_lock+0x43/frame 0xfffffe0c58086810 ffs_flushfiles() at ffs_flushfiles+0x88/frame 0xfffffe0c58086870 softdep_flushfiles() at softdep_flushfiles+0x62/frame 0xfffffe0c580868d0 ffs_unmount() at ffs_unmount+0x89/frame 0xfffffe0c58086930 dounmount() at dounmount+0x409/frame 0xfffffe0c580869b0 sys_unmount() at sys_unmount+0x2bc/frame 0xfffffe0c58086ae0 amd64_syscall() at amd64_syscall+0x244/frame 0xfffffe0c58086bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0c58086bf0 --- syscall (22, FreeBSD ELF64, sys_unmount), rip =3D 0x80088f64a, rsp =3D= 0x7fffffffe198, rbp =3D 0x7fffffffe2b0 --- Does it make any interest or is it harmless? Thanks!=