From owner-freebsd-geom@freebsd.org Tue Apr 4 14:50:53 2017 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0AE9D2EB6C for ; Tue, 4 Apr 2017 14:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E03C576C for ; Tue, 4 Apr 2017 14:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v34EorOK015628 for ; Tue, 4 Apr 2017 14:50:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-geom@FreeBSD.org Subject: [Bug 218337] panic: Journal overflow with g_journal_switcher waiting on wswbuf0 Date: Tue, 04 Apr 2017 14:50:54 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 14:50:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218337 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-geom@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Tue Apr 4 17:41:55 2017 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B0EED2E35F for ; Tue, 4 Apr 2017 17:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A988931 for ; Tue, 4 Apr 2017 17:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v34Hfs4k079646 for ; Tue, 4 Apr 2017 17:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-geom@FreeBSD.org Subject: [Bug 218337] panic: Journal overflow with g_journal_switcher waiting on wswbuf0 Date: Tue, 04 Apr 2017 17:41:54 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pho@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 17:41:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218337 Peter Holm changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pho@FreeBSD.org --- Comment #1 from Peter Holm --- All of the stress2 tests I have panic with "Journal overflow". Here's an example with an 8g disk with an excessive 50% journal: https://people.freebsd.org/~pho/stress/log/gjournal5.txt --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Apr 6 16:33:51 2017 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DD5AD304C7 for ; Thu, 6 Apr 2017 16:33:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F19788C4 for ; Thu, 6 Apr 2017 16:33:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v36GXo4l013644 for ; Thu, 6 Apr 2017 16:33:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-geom@FreeBSD.org Subject: [Bug 218337] panic: Journal overflow with g_journal_switcher waiting on wswbuf0 Date: Thu, 06 Apr 2017 16:33:51 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: longwitz@incore.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 16:33:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218337 longwitz@incore.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |longwitz@incore.de --- Comment #2 from longwitz@incore.de --- Thanks for the extensive example, the information of your kerneldump looks nearly identical to mine.=20 I think the problem with u_int/u_long variables in g_journal.c is not the reason for the panic, there is already the PR kern/198500. The panic has to do with the extra physical memory described in man pbuf(9). I see the following user of pbufs (I don't have nfs and fuse): nbuf =3D 105931 nswbuf =3D min(nbuf / 4, 256) =3D 256; User of pbufs: boottime kerneldump md_vnode_pbuf_freecnt 25 25 smbfs_pbuf_freecnt 129 129 ncl_pbuf_freecnt 129 129 cluster_pbuf_freecnt 128 0 vnode_pbuf_freecnt 129 129 nsw_rcount 128 128 nsw_wcount_sync 64 64 The g_journal_switcher (pid 7) is waiting on channel "wswbuf0" because all the cluster_pbufs are in use. Looking at the 256 swbufs I found, that 128 are free and 128 are in use by the g_journal_switcher itself. All the buffers have the same b_bufobj and the same b_iodone address "cluster_callback". One example: (kgdb) p swbuf[126] $352 =3D {b_bufobj =3D 0xfffff80b7e1acbe0, b_bcount =3D 131072, b_caller1 = =3D 0x0, b_data =3D 0xfffffe0c1c2ec000 "", b_error =3D 0, b_iocmd =3D 2 '\002', b_io= flags =3D 0 '\0', b_iooffset =3D 472973312, b_resid =3D 0, b_iodone =3D 0xffffffff8073fcb0 , b_blkno =3D 923776, b_offset =3D 2841903104, b_bobufs = =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}, b_vflags =3D 0, b_freelist =3D {tqe_next =3D 0xfffff= e0bafe182b8, tqe_prev =3D 0xffffffff80eaa460}, b_qindex =3D 0, b_flags =3D 1677721636, b_xflags =3D 0 '\0', b_lock =3D {lock_object =3D {lo_name =3D 0xffffffff8= 0a829a7 "bufwait", lo_flags =3D 108199936, lo_data =3D 0, lo_witness =3D 0x0}, lk_lock =3D 18446744073709551600, lk_exslpfail =3D 0, lk_timo =3D 0, lk= _pri =3D 96}, b_bufsize =3D 131072, b_runningbufspace =3D 131072, b_kvabase =3D 0xfffffe0c1c2ec000 "", b_kvaalloc =3D 0x0, b_kvasize =3D 13= 1072, b_lblkno =3D 86728, b_vp =3D 0xfffff80b7e1acb10, b_dirtyoff =3D 0, b_dirtye= nd =3D 131072, b_rcred =3D 0x0, b_wcred =3D 0x0, b_saveaddr =3D 0xfffffe0c1c2ec000, b_pa= ger =3D {pg_reqpage =3D 0}, b_cluster =3D {cluster_head =3D {tqh_first =3D 0xfffffe= 0bb1bec410, tqh_last =3D 0xfffffe0bb1bebe20}, cluster_entry =3D {tqe_next =3D 0xfffffe0bb1bec410, tqe_prev =3D 0xfffffe0bb1bebe20}}, b_pages =3D {0xfffff80c097f97c0, 0xfffff80c097f9828, 0xfffff80c097f9890, 0xfffff80c097f98f8, 0xfffff80c097f9960, 0xfffff80c097f99c8, 0xfffff80c097f9a30, 0xfffff80c097f9= a98, 0xfffff80c097f9b00, 0xfffff80c097f9b68, 0xfffff80c097f9bd0, 0xfffff80c097f9c38, 0xfffff80c097f9ca0, 0xfffff80c097f9d08, 0xfffff80c097f9= d70, 0xfffff80c097f9dd8, 0xfffff80c097f9e40, 0xfffff80c097f9ea8, 0xfffff80c097f9f10, 0xfffff80c097f9f78, 0xfffff80c097f9fe0, 0xfffff80c097fa= 048, 0xfffff80c097fa0b0, 0xfffff80c097fa118, 0xfffff80c11547980, 0xfffff80c115479e8, 0xfffff80c11547a50, 0xfffff80c11547ab8, 0xfffff80c11547= b20, 0xfffff80c11547b88, 0xfffff80c11547bf0, 0xfffff80c11547c58}, b_npages = =3D 32, b_dep =3D {lh_first =3D 0x0}, b_fsprivate1 =3D 0x0, b_fsprivate2 =3D 0x0, b_fsprivate3 =3D 0x0, b_pin_count =3D 0} Therefore the g_journal_switcher has all his cluster pbufs in use and waits forever for another one. So the worker thread must panic with overflow. In cluster_wbuild() I can't see a check for "cluster_pbuf_freecnt > 0" to a= void the hang on "wswbuf0". I wonder why this seems only a problem with gjournal, other components in the kernel also use VFS_SYNC. I would like to know if this problem can be fixed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Fri Apr 7 15:44:48 2017 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA388D329CF for ; Fri, 7 Apr 2017 15:44:48 +0000 (UTC) (envelope-from kathy.wiley@digitalmicroinfo.com) Received: from IND01-MA1-obe.outbound.protection.outlook.com (mail-ma1ind01on0071.outbound.protection.outlook.com [104.47.100.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E577B36 for ; Fri, 7 Apr 2017 15:44:48 +0000 (UTC) (envelope-from kathy.wiley@digitalmicroinfo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT2129243.onmicrosoft.com; s=selector1-digitalmicroinfo-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vGhvDt85HuNnqN6G3xN9KVcyDvX+esCCv8EjaAv8OmE=; b=O8X5v7aOfdwRoig2YqAXBj7SZN91VRMgmG+aLweJTtUy7uA3K7VGHmTcyDgJoa1XTt60fV9P4Xz+FU5zA299pagO7FuMVOxVylQ2TZqUit35ma3IlymCg9ftjn90bMiPYUmXn5Sqh9nitCMb1Pr+OzY86QKEs1IlYn8Q9u3tMII= Received: from BM1PR01MB0050.INDPRD01.PROD.OUTLOOK.COM (10.164.128.146) by BM1PR01MB0050.INDPRD01.PROD.OUTLOOK.COM (10.164.128.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Fri, 7 Apr 2017 15:44:43 +0000 Received: from BM1PR01MB0050.INDPRD01.PROD.OUTLOOK.COM ([10.164.128.146]) by BM1PR01MB0050.INDPRD01.PROD.OUTLOOK.COM ([10.164.128.146]) with mapi id 15.01.1019.019; Fri, 7 Apr 2017 15:44:43 +0000 From: Kathy Wiley To: "freebsd-geom@freebsd.org" Subject: Dell Software Users Thread-Topic: Dell Software Users Thread-Index: AdKvykPfd2WeoEd7TdOKJcLwZDYFNw== Date: Fri, 7 Apr 2017 15:15:51 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=kathy.wiley@digitalmicroinfo.com; x-originating-ip: [49.207.50.179] x-microsoft-exchange-diagnostics: 1; BM1PR01MB0050; 7:PAmstN7JlHlaG+muZE5YDOMp4zvpat+TBLNH5axALfc09iXMkJwT9M2dN/lB9qnYoZC00p9L3coc7lXKjhhyNrEzVRyaHLtqMkpY9pZTvaTgUaMl2qEpfWmaegWL8irRMSmzufcIitMa3XOLz4uIhymQcV6E+5K2N1PVRKRdGGv82+ovRlZ3UQmqN5i7yXW3rw1QAzveCeYGqUE4YuEefujsZrv+SY/sSkd9v+PvroVVJXRUpT3KB2DqQ3LvP7CXykNACt8uM7MrT0LK4Q+nldzHOyDy8SX52upeWvWafHo6osPmqhj8PNEX4AnRsQVyW8PFgvxbwhCOdPi/6o1YmA== x-ms-office365-filtering-correlation-id: b106bcc5-a256-4362-2797-08d47dcd02f9 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201702281549075); SRVR:BM1PR01MB0050; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123564025)(20161123562025)(2016111802025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(6072148)(6043046); SRVR:BM1PR01MB0050; BCL:0; PCL:0; RULEID:; SRVR:BM1PR01MB0050; x-forefront-prvs: 0270ED2845 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39410400002)(39400400002)(39450400003)(39850400002)(199003)(189002)(5630700001)(8676002)(38730400002)(3846002)(8936002)(5640700003)(2351001)(790700001)(6436002)(6116002)(6506006)(3660700001)(86362001)(3280700002)(102836003)(33656002)(2906002)(2501003)(77096006)(2900100001)(110136004)(50986999)(81166006)(55016002)(74316002)(66066001)(122556002)(7696004)(3480700004)(9476002)(7116003)(9326002)(25786009)(6916009)(5660300001)(54896002)(9686003)(189998001)(6306002)(7520500002)(53936002)(6666003)(54356999)(7736002)(26730200005)(19860200003); DIR:OUT; SFP:1101; SCL:1; SRVR:BM1PR01MB0050; H:BM1PR01MB0050.INDPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:ovr; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: digitalmicroinfo.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: digitalmicroinfo.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2017 15:15:51.3209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 28a97400-0b4f-4ade-82f0-76a35ec0649a X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR01MB0050 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 15:44:48 -0000 Hi, Are you interested in Dell Software Users Contacts List? Some of Dell Software Users like: Dell Email Management Services (EMS), Del= l Boomi, Dell Credant, Dell Enterprise Single Sign-on, SonicWall, Statistic= a, RSA SecurID, RSA Archer, Spanning Backup for Salesforce, EMC Control Cen= ter, Documentum, EMC NetWorker, Syncplicity, Database Management Solutions,= Spanning Backup for Google Apps, Mozy, EMC Avamar, QuoteWerks and many mor= e... Information Fields - Name, Title, Email, Phone, Company Name, Physical Add= ress, City, State, Zip Code, Country, Web Address, Employee Size, Revenue = Size and Industry. Do let me know if you are interested and I would be happy to share counts, = sample and pricing. Regards, Kathy Wiley Data Consultant To opt out, please reply with Leave Out in the Subject Line. From owner-freebsd-geom@freebsd.org Sat Apr 8 13:40:59 2017 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCD08D135A8 for ; Sat, 8 Apr 2017 13:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2B06CA0 for ; Sat, 8 Apr 2017 13:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v38DexRc032319 for ; Sat, 8 Apr 2017 13:40:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-geom@FreeBSD.org Subject: [Bug 218337] panic: Journal overflow with g_journal_switcher waiting on wswbuf0 Date: Sat, 08 Apr 2017 13:40:59 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: longwitz@incore.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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 MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2017 13:40:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218337 --- Comment #3 from longwitz@incore.de --- >From my kerneldump I see the backtrace for the g_journal_switcher: #4 0xffffffff80910c58 in getpbuf (pfreecnt=3D) at /usr/src/sys/vm/vm_pager.c:336 #5 0xffffffff8073f453 in cluster_wbuild (vp=3D0xfffff80b7e1acb10, size=3D3= 2768, start_lbn=3D, len=3D, gbflags=3D) at /usr/src/sys/kern/vfs_cluster.c:840 #6 0xffffffff808d8748 in ffs_syncvnode (vp=3D0xfffff80b7e1acb10, waitfor= =3D1, flags=3D) at /usr/src/sys/ufs/ffs/ffs_vnops.c:298 #7 0xffffffff808d5f6d in ffs_sync (mp=3D0xfffff8002ba4b000, waitfor=3DCann= ot access memory at address 0x1 ) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1591 #8 0xffffffff807618fc in vfs_write_suspend (mp=3D0xfffff8002ba4b000, flags=3D) at /usr/src/sys/kern/vfs_vnops.c:1877 #9 0xffffffff8112a3e4 in g_journal_switcher (arg=3D0xffffffff81132f28) In the source /usr/src/sys/ufs/ffs/ffs_vfsops.c on line 1591 I see the call= of ffs_syncvnode() as stated above (frame #7 --> frame #6). But in the source /usr/src/sys/ufs/ffs/ffs_vnops.c on line 298 I see a call of vfs_bio_awrite= () and not a call of cluster_wbuild() as stated above (frame #6 --> frame #5). Looking in the source /usr/src/sys/kern/vfs_bio.c line 1971 I see the funct= ion vfs_bio_awrite() which calls cluster_wbuild(). So I feel there is a missing frame in the backtrace give by kgdb for g_journal_switcher. In my ddb output - amd also in Peters ddb output - I see the same: getpbuf() at getpbuf+0xb8/frame 0xfffffe0c4e49c8b0 cluster_wbuild() at cluster_wbuild+0x83/frame 0xfffffe0c4e49c950 ffs_syncvnode() at ffs_syncvnode+0x308/frame 0xfffffe0c4e49c9e0 ffs_sync() at ffs_sync+0x1fd/frame 0xfffffe0c4e49ca90 vfs_write_suspend() at vfs_write_suspend+0x19c/frame 0xfffffe0c4e49cad0 g_journal_switcher() at g_journal_switcher+0x9a4/frame 0xfffffe0c4e49cbb0 Please can somebody explain to me what is going on here ? --=20 You are receiving this mail because: You are the assignee for the bug.=