From nobody Sat Sep 16 13:36:01 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RnsX15Rx6z4syLF for ; Sat, 16 Sep 2023 13:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RnsX12Hhsz4HsL for ; Sat, 16 Sep 2023 13:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694871361; a=rsa-sha256; cv=none; b=OZlfaYZCKgWxrvJb4DFGEy5TGO7u3ozBmh2JVqXxJajE9K3hX7TVdRYRX547xjsEWyDEq+ NqbT50pZk3aiZZy5X8QVkvfbr5ADLoLGpnclcTc+ssDrAXJaWyHIg5yCvsgIwYH0uv6fLX 3dIMEu4dfSRXov3Hs5mIUmOFnC4nEYAOZLJ4y0zdekJOJb5na74QRhMATTjtTA4E8zpoH4 kOrDD4pxftPfuR03iSmHEjVBqseQO6GJXElmtDqDm5zgsHuPQmRZYzVq6O5J2xDIGyuzJx VcAYwMlhpzuektrny2TfWS9XWM8QTuJMvCQ5/DwEUwU8llmVMgs1iCV1oPcLPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694871361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vm9pZpIVnHMlcLX3sh7pE4+7AMyb6V3K6ozZIh6Nsh8=; b=Wy7YBv+jmLKnpP69RAFOBiKldJXuvhQCQNdhcDV/gz7NJFPj2A2jnlaLgr90U8mJlsMqEv PDz7YcPF6tSiDqKkouFl9ZScNEFsyytQUMGLaWUpvw+Pgmjr5XPKplDlQsDcPZNkCzbyd/ Lk2ywa0xldmAyLdM92YpN7CUB6i1VsmDxrrKOmO5fSIV7a3F+6VV6uEcCVUX4rqdyZKPNK 8zKhQ5y9Pe11w3y5lhMnqG9xJ/02h3YmHeRLKouhd2RG7gGu36AMkoIrOJIyrAOZMMz/3E /OA5k+6ACKL1K8bOj82Usru6aW9pdpBpZEiJpRZBuqinuAYLqlK4T2RyHRUYPA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RnsX113dBz17MM for ; Sat, 16 Sep 2023 13:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38GDa1Ar003259 for ; Sat, 16 Sep 2023 13:36:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38GDa1Vs003258 for bugs@FreeBSD.org; Sat, 16 Sep 2023 13:36:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272434] du and disk operations (like mv,cp,shutil.move/rmtree,os.rename) combination issues Date: Sat, 16 Sep 2023 13:36:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: meetshamsher@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272434 --- Comment #9 from shamsher --- lock order reversal: 1st 0xfffff800028677f0 ufs (ufs, lockmgr) @ kern/vfs_mount.c:1742 2nd 0xfffff8000286dcf0 devfs (devfs, lockmgr) @ kern/vfs_subr.c:3191 lock order devfs -> ufs established at: #0 0xffffffff80682cbd at witness_checkorder+0x46d #1 0xffffffff805eacf2 at lockmgr_lock_flags+0x172 #2 0xffffffff808617fd at ffs_lock+0x9d #3 0xffffffff809bf090 at VOP_LOCK1_APV+0x40 #4 0xffffffff80711cd4 at _vn_lock+0x54 #5 0xffffffff806ef8fd at vfs_domount+0xf1d #6 0xffffffff806edd02 at vfs_donmount+0x872 #7 0xffffffff806f24b7 at kernel_mount+0x57 #8 0xffffffff806f4e61 at parse_mount+0x4a1 #9 0xffffffff806f32e7 at vfs_mountroot+0x587 #10 0xffffffff805a9adf at start_init+0x1f #11 0xffffffff805d5750 at fork_exit+0x80 #12 0xffffffff80916f1e at fork_trampoline+0xe lock order ufs -> devfs attempted at: #0 0xffffffff8068361c at witness_checkorder+0xdcc #1 0xffffffff805eacf2 at lockmgr_lock_flags+0x172 #2 0xffffffff809bf090 at VOP_LOCK1_APV+0x40 #3 0xffffffff80711cd4 at _vn_lock+0x54 #4 0xffffffff806f9ed6 at vput_final+0x116 #5 0xffffffff8085f4ef at ffs_unmount+0x33f #6 0xffffffff806f09eb at dounmount+0x43b #7 0xffffffff806f053c at kern_unmount+0x2fc #8 0xffffffff80943892 at amd64_syscall+0x122 #9 0xffffffff8091683e at fast_syscall_common+0xf8 can we change below value? looks like this having some impact: debug.vn_lock_pair_pause_max --=20 You are receiving this mail because: You are the assignee for the bug.=