From owner-freebsd-fs@freebsd.org Tue Sep 12 21:11:57 2017 Return-Path: Delivered-To: freebsd-fs@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 74476E1E40A; Tue, 12 Sep 2017 21:11:57 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 101C538B9; Tue, 12 Sep 2017 21:11:57 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id g206so257915wme.0; Tue, 12 Sep 2017 14:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fGuCK/04/QEVpa2YAd3EskymPkxZWvObz4jlqF5X0c0=; b=IVhQiEvNcnTBntRUgPW74eGffZHGFYryeUaxTNbTe4WCAJWCREfsBuqsRFf/oxwAA8 vC07emE0mPA/S0+n8gYuTgph/68VoaJbnvL6b+1r9pEAwXzUOjR1SzBHzImTcJwyjRWg yMpWIUMWUsK6i4ILhT/JmgOCWY8fXX83t8kTBKyv7wVUejpqTWll9Mde2dEloJA1MFI5 TvGV+mXxeT+dWFbMI/4LDzo0MnXqJkErVUgx16ni7hxlRbt8G53kELtdPp4H1KASpprU 6OB1Qf6NBFY3IOhGYgLxjB1sfiXoGD0vYFt44P0KjJsIAYfWOAw0QJiCcgXTpQPNR2PL j+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fGuCK/04/QEVpa2YAd3EskymPkxZWvObz4jlqF5X0c0=; b=bawjEDcb7CDLwDjMhk5BsToHN1CF7i/rKqp5Iw4z3Jyztft+RI+BmpI32Rp4r0KWma ndP+V6jpQ3S+MtE+m7fD40FXGOx12bas5XETDa6PIZV73ivXry01YYyxhqB73MhDcC5g rOZSkYX2LM3SRnyM/nZ52XnWiRg13OEd4U0FMJxBJu1SEREjQa/eOktwYPg9+ElvN7IS 61jppSwuHzzmsD/oBrH4ElRc/IzF2apz22QPJRM7PsK0eZxJ5r5sESEmtEV9PZzI/CDE Z8WTcnVIJ/+64jwMGgYP4i2oJ9QsmNVi7MS/w+9ipV3Ve9lBfuFEj7OuHKkQyVqXE5Nj EIdw== X-Gm-Message-State: AHPjjUhW66GKCfZvcLkH7AtJqxOVmVVB1KgRw3uBzaJo+INDc86cL1tW cCOpBjcnMCl/eb2Gw14= X-Google-Smtp-Source: AOwi7QBdCHkBER+Q3QkVr3vdN7RA0ZKUD1+I8+G/+H4K4t/jcb3Hyz7z4XUi/do/nroZSu9VAd9Nug== X-Received: by 10.28.156.203 with SMTP id f194mr700439wme.149.1505250714447; Tue, 12 Sep 2017 14:11:54 -0700 (PDT) Received: from ben-3.home (LFbn-MAR-1-445-220.w2-15.abo.wanadoo.fr. [2.15.38.220]) by smtp.gmail.com with ESMTPSA id v5sm9378395wmb.0.2017.09.12.14.11.52 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Sep 2017 14:11:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: extending the maximum filename length (pointer to patch)[request for input] From: Ben RUBSON In-Reply-To: Date: Tue, 12 Sep 2017 23:11:52 +0200 Cc: "freebsd-fs@freebsd.org" , freebsd-current , Julian Elischer Content-Transfer-Encoding: quoted-printable Message-Id: <041393BA-94E3-4D22-95C8-EF0634746DC3@gmail.com> References: <0154558d-b2ad-af97-3960-3e392678f709@freebsd.org> <8d04540b-6daf-aa13-5648-0ec2541cbae6@freebsd.org> To: cem@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 21:11:57 -0000 On 12/9/17 2:17 pm, Conrad Meyer wrote: > On Sat, Sep 9, 2017 at 9:09 AM, Julian Elischer = wrote: >> maybe we could get it into -current. >> It'd be silly to have to have people re-inventing hte wheel all the = time. >> How about you put those changes into the reviews.freebsd.org and we = can get >> some general consensus on them. >> We'll have to do similar for the Asian customers and anyone who uses = UTF-8. >> So it >> would be silly to have to develop it all again (but subtly different = of >> course). >>=20 >> The key issue is how many system calls and other APIs would be = broken, >> and how many would be broken in a non backwards compatible way? >>=20 >> We would need it in a stable/10 and 11 branch but if the patch is = isolated >> enough we could carry it forward until we get to 12. >>=20 >> One has to allow people to do whatever they are used to with Windows. >> And in this case the issue is serving files over samba to windows = machines. > Hey Julian, >=20 > I've thrown the patch up at https://reviews.freebsd.org/D12330 . I > haven't actually tested it on FreeBSD, but it does compile. We also > have some patches against contrib/pjdfstest to fix those tests against > long file names, but I think we can hold off on those changes until > we've nailed down what the architectural change will be (if any). Hi Conrad, This patch makes me think about another related bug #184340 : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D184340 It is about PATH_MAX which in some cases can be too small. Not sure if it's the case / and how to do it, but perhaps it is time to raise some other limits / think about a global solution regarding these length limits ? Many thanks ! Ben