Date: Tue, 11 Oct 2011 08:30:10 GMT From: Garrett Cooper <yanegomi@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/161481: mount fails with ENAMETOOLONG with path shorter than 255 // 1023 characters Message-ID: <201110110830.p9B8UADn054033@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/161481; it has been noted by GNATS. From: Garrett Cooper <yanegomi@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: Garrett Cooper <yanegomi@gmail.com> Subject: Re: kern/161481: mount fails with ENAMETOOLONG with path shorter than 255 // 1023 characters Date: Tue, 11 Oct 2011 00:57:44 -0700 (PDT) I looked into this more closely after I submitted the bug and the problem is the arbitrarily short value attached to MNAMELEN: 122537 mckusick #define MNAMELEN 88 /* size of on/from name bufs */ The value has changed over the years (all the way back to the mid-90s) from 90 to 70 to 80 to 88, but each time the author doesn't clearly state why the change was required. Testing out a kernel with the newly imposed limits to determine if the new limit is functional and/or there's a major performance regression with the new limit. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110110830.p9B8UADn054033>