From owner-freebsd-current@freebsd.org Sun Oct 29 13:13:35 2017 Return-Path: Delivered-To: freebsd-current@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 B956DE6315A for ; Sun, 29 Oct 2017 13:13:35 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0051.outbound.protection.outlook.com [104.47.40.51]) (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 C733C7D5FC for ; Sun, 29 Oct 2017 13:13:34 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM (52.132.46.161) by YTOPR0101MB2170.CANPRD01.PROD.OUTLOOK.COM (52.132.46.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Sun, 29 Oct 2017 13:13:31 +0000 Received: from YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM ([fe80::4de0:3ee2:dd30:90ad]) by YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM ([fe80::4de0:3ee2:dd30:90ad%13]) with mapi id 15.20.0178.012; Sun, 29 Oct 2017 13:13:31 +0000 From: Rick Macklem To: Yuri Pankov , freebsd-current Subject: Re: NFSv3 issues with latest -current Thread-Topic: NFSv3 issues with latest -current Thread-Index: AQHTULWdas8UmakPy0GlL/yJGiaU1aL6y8Bo Date: Sun, 29 Oct 2017 13:13:31 +0000 Message-ID: References: <9ceeafa5-cb7f-cb82-db07-de6f28b209e2@gmx.com> In-Reply-To: <9ceeafa5-cb7f-cb82-db07-de6f28b209e2@gmx.com> 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; YTOPR0101MB2170; 6:0Pfnkm7wFHNGT9CvEB7T1FQv5RMz0vwrzt/QuhQegM18s0triLAtzTbB3RS7lp8leoeGnnt8nC7ELV5M0UfV9OokRffglKuCh/WP8M2OvVnhdp2a4FfRLwteb22RSLYf2Tyy2AmMJghKwgfedmGYYkNoiZaNgPL8TrybETXXus+UYCKVQa+8MVqx4IOK4FOnQfPkKeRvu/95uffMm1oNbr1GaI/l0MMduDa64mWvDRd8h5Sb8495rCJTbkF9PIisUKAyXnCgHwFxylzGNPzreyZ7rUfPQVCEAcGH1AbVzCoDvkBLDJ1IOJm4JncJvMASNm/hptvxHqEnGrx1wWB7JHyypt1DV309N6EU9BuFc0s=; 5:Blxtc6sNlcsHKqLrrB5KfjoHyLg1v+l/QrMgck9BmXImolDy0WWFKCJTi5H/R3dPXWzrZLbaa3nbBoQ8nrZfEfsjT2VY2ng/aoqtXY93sgu+Hlo8KZNMRGLSrO0Vq5EkdotA4Zo6pOLc4hWmqt3Xvs0I0NxAhodguTRqkjVph+0=; 24:UkaN6ble4akUBwmXbuluC9tT087ubgzYQowQ2DKpjtyKz7FyUe6n5dAg9SpY8c3+Lt4sF+NCxlWWefw13twpTwpFYV6JqcVATS4pzCJhqM0=; 7:wlt+9g6KY87tY3ycMtJVh9EWGkROa7W8IG9scGAqLQn3uIunt5ZehO46sDKoYRO38UrWmBGA2OZWt2FDL2E7eUrjkGQpjvAJupOZKcYi5XWSl874gzMgmUICp+sWql4Hv4DVpnOYUEfJnirtszab0VjziJ9T5cktibZbm2tl5N3LcvFYqEnZydjog4EGphk62HRXLegPopuws220RaRvRLgmztXGvTSPT+a9ZK/fIP57uw6wjKTtBpMHiIPT6rmQ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 01dda5d3-c07f-45ba-6d06-08d51eceda39 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(2017052603199); SRVR:YTOPR0101MB2170; x-ms-traffictypediagnostic: YTOPR0101MB2170: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231020)(100000703101)(100105400095)(93006095)(93001095)(6041248)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123564025)(20161123562025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:YTOPR0101MB2170; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:YTOPR0101MB2170; x-forefront-prvs: 0475418F50 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(39830400002)(346002)(376002)(189002)(199003)(24454002)(3280700002)(2950100002)(5660300001)(76176999)(53936002)(50986999)(54356999)(7696004)(55016002)(9686003)(316002)(101416001)(105586002)(33656002)(106356001)(786003)(110136005)(8666007)(478600001)(97736004)(6436002)(6506006)(25786009)(74482002)(229853002)(189998001)(68736007)(2900100001)(81156014)(81166006)(8676002)(3660700001)(8936002)(86362001)(2906002)(102836003)(14454004)(5250100002)(305945005)(74316002)(6246003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB2170; H:YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) 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: 01dda5d3-c07f-45ba-6d06-08d51eceda39 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2017 13:13:31.4367 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB2170 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 29 Oct 2017 13:13:35 -0000 Yuri Pankov wrote: > All file operations (e.g. copying the file over NFSv3 for me) seem to be > stuck running the latest -current (r325100). Reverting just the kernel > to r323779 (arbitrary chosen) seems to help. I noticed the "Stale file > handle when mounting nfs" message but I don't get the "stale file > handle" messages from mount, probably as I'm not running any linux client= s. These kinds of problems are usually related to your net interface device driver or the TCP stack. A couple of things to try: - Disable TSO (look for a sysctl with "tso" in it). - Try using mount options rsize=3D32768,waize=3D32768 to reduce the I/O size. Some device drivers don't handle long chains of mbufs well, especially when the size is near 64K. (These issues have been fixed in current, but if a bug slips into a net dri= ver update or ???) - Look at recent changes to the net device driver you are using and try rev= erting those changes if you can do so. - Capture packets and look at them in wireshark (which knows NFS) and see what is going on the wire. There hasn't been any recent changes to NFS that should affect NFSv3 mounts or to the kernel rpc, so I doubt the NFSv4.1 changes would be involved. rick=