Date: Fri, 18 May 2007 14:28:40 +0800 From: "Howard Su" <howard0su@gmail.com> To: "Eric Anderson" <anderson@freebsd.org> Cc: fs@freebsd.org Subject: Re: size limit for TMPFS Message-ID: <f126fae00705172328k6927fb67r3bd27731209b2661@mail.gmail.com> In-Reply-To: <464C3DA7.3020003@freebsd.org> References: <f126fae00705170236t687a92des3f42415fd06d75b9@mail.gmail.com> <464C3DA7.3020003@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/17/07, Eric Anderson <anderson@freebsd.org> wrote: > > Track the memory usage on your own? As you allocate, keep a counter and This is doable. The down site for this is we need another mutex to protect this resource usage. This mutex will result performance issue. because this mutex is per mount point. and when alloc/read a node, a directory. > total up the usage outside of uma. (3) sounds good, except it may not > be accurate, and that could lead to confusion for someone. Can we state, the tmpfs size only limit to the file size. Meta data will not be counted. Meta data limit will be adjusted by the kernel resource or explicitly specified by the user. -- -Howard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f126fae00705172328k6927fb67r3bd27731209b2661>