From owner-freebsd-current@freebsd.org Fri Aug 17 12:49:05 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1ACC8106CE31 for ; Fri, 17 Aug 2018 12:49:05 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670089.outbound.protection.outlook.com [40.107.67.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B05177B3F8 for ; Fri, 17 Aug 2018 12:49:04 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM (52.132.44.160) by YTOPR0101MB2060.CANPRD01.PROD.OUTLOOK.COM (52.132.49.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.23; Fri, 17 Aug 2018 12:49:03 +0000 Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::f171:1f28:a0a2:f127]) by YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::f171:1f28:a0a2:f127%3]) with mapi id 15.20.1059.021; Fri, 17 Aug 2018 12:49:03 +0000 From: Rick Macklem To: Konstantin Belousov CC: "freebsd-current@FreeBSD.org" , "peter@holm.cc" Subject: Re: ffs_truncate3 panics Thread-Topic: ffs_truncate3 panics Thread-Index: AQHULkj8zfSrFB+Dkkqu0NmeGvZbQKS0RKaAgAGEoXWAAKUlgIAANVYCgACitwCAAJvZIoABYIyAgAEw+G+AAA/YgIABir2AgAfkjyU= Date: Fri, 17 Aug 2018 12:49:03 +0000 Message-ID: References: <20180807131445.GC1884@kib.kiev.ua> <20180808221647.GH1884@kib.kiev.ua> <20180809111004.GK1884@kib.kiev.ua> <20180810172941.GA2113@kib.kiev.ua> , <20180811123755.GD2113@kib.kiev.ua>, In-Reply-To: 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=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTOPR0101MB2060; 6:2YwEV3Q97Q/wwYJ5Eq0zdsG5PQ0c8HFlMOA6ZgwLTN2qJfZ1iPV1bKz7Juy9fjyjRbu8x0RnLMaQY7uIS4Yp8VBb8P4WNTPIZNgPwYz3wKCYUSBhKJ0023B5mMu52vzrv6ulCIqmyAQO7h8gbDUjD1QCEBb4wJL+B4G0z1UxxVeKbBWWv/sIZj8QIZGNZHCK2QzHgo0INZPC3I25ajLatqpUTZC2k3T3M8kfAxJjAouhkmzHZa1uPh+AThRQLZRCtWHzYCb9CXl4+CF7zndhm4E4+aHR6PSqtzs3Nzilvo/d/fWTu8WCu5XfgJ5BuzSElD8Px1L1wJSRvhnWGOa3acPvw2FfY4JiAASUbj5vVg7ltML6lQnUW2c3PmuRH98UlYRv5mOmHokSWhnlv7plbc/kMikswYEJFPT6h5Urq88haFKMZnrDrTJEx9c/ZByJhXD8eEKhWDjlU6X4wMixiA==; 5:lY1v5MF0ti0YSSD0XB+w+Z/XbsUSBm3a51ep/ojM9ncPRAKqjy7oR8zB2D1FuzkA0Tm2j36n+XWLnKTlVHGRrlY0GW1kf49R6qAiVOAMSGDWBi2KdSd0d96QB0MuJ9KYrLTJ93cOqxHsyStvvCSvHdTPGMELBiCOJTtt15tj3Zk=; 7:Vh+Q4CGima6G/S76X7rEEN25YQalt3kKwwyDrAiHjFogqY14L3Y5gZL70vR70muPH/AfdqrS6Zp3ryTTEe+ng1Wx8gCvYRHOVrPd987/EQTB3aSVL3s6Z7Jo8fyq1ow99cKqahqslH+ZQGtDDqUEr8jtVdZjhzM3j/mgue4DZ9O2G/J93BmBCG8uc+c3lUyv5jNukPAy0zhsgiMHqI2a6bN7UkadI+BA6eioJDaH39BXf5TFxyS4JRNPRBEK7ABc x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 3958001d-236e-4570-7f21-08d6043fcf9c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:YTOPR0101MB2060; x-ms-traffictypediagnostic: YTOPR0101MB2060: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699016); SRVR:YTOPR0101MB2060; BCL:0; PCL:0; RULEID:; SRVR:YTOPR0101MB2060; x-forefront-prvs: 076777155F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39850400004)(136003)(366004)(346002)(396003)(189003)(199004)(40764003)(1411001)(786003)(68736007)(478600001)(6246003)(39060400002)(4326008)(256004)(53936002)(316002)(86362001)(54906003)(25786009)(14454004)(9686003)(2906002)(229853002)(5250100002)(6436002)(55016002)(7116003)(5660300001)(486006)(7696005)(76176011)(6916009)(476003)(446003)(11346002)(2900100001)(6506007)(26005)(186003)(102836004)(33656002)(105586002)(106356001)(99286004)(74482002)(81156014)(8676002)(81166006)(93886005)(8936002)(97736004)(305945005)(74316002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB2060; H:YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: ju9e/EAIErjhUMIfkyEMkxQlSrmQreP5IcPLhuCCDXomfchpXcKkWp9hNiov8Ca/eATr0HhZ9RVYxL9JZHeLxsgwjOiGUqGiVUvoCzqJxjyhc5VWJfCjb0zmSLIA6dP7h9pPVM47TH7uDq0CdB6nismOaiMkn5jSrM/ed0Mn1vlKZBUy1glFzyZjVZ5ng4/zoJS+MlWZNvAxKfy1Wisgu6BxPtONJwdoLOOi6GbPdtO4aqWIa67WcB/j/f9Gub+SrewjuKZICRMVqz6ALzz39ldatejPPHT8dSq3VG0MBt/pRUhMKpy1kjOg2ifd7OYBrHQkJBdhxzsa5punWvxHTgk5cyfSCePD811dWEJf9Tc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 3958001d-236e-4570-7f21-08d6043fcf9c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2018 12:49:03.1474 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB2060 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 12:49:05 -0000 Just fyi, I have committed r337962 to head, which stops the pNFS service from creating non-zero length empty files. Since these files were the ones causing the "ffs_truncate3" panics, the pan= ics should no longer occur. I will take a closer look at some point to see if I can spot why the panics= () occur and can easily revert this patch on my test setup if others have suggested patches to try related to this. Thanks for your help with this, rick