Re: PUFFS ADVLOCK is too greedy

2011-11-14 Thread David Laight
On Fri, Nov 11, 2011 at 11:11:35AM +0100, Emmanuel Dreyfus wrote: Here is where the extra ADVLOCK happen: sys_exit - exit1 - fd_free - fd_close - VOP_ADVLOCK In a nutshell, NetBSD clears locks on all file descriptor when a process exit, that include read-only descriptors, and FUSE

Re: MAXNAMLEN vs NAME_MAX

2011-11-14 Thread Matthew Mondor
On Sun, 13 Nov 2011 23:08:30 + David Holland dholland-t...@netbsd.org wrote: I was recently talking to some people who'd been working with some (physicists, I think) doing data-intensive simulation of some kind, and that reminded me: for various reasons, many people who are doing serious

Re: fs-independent quotas

2011-11-14 Thread Manuel Bouyer
On Sun, Nov 13, 2011 at 07:42:18PM -0500, Mouse wrote: The arguments that ufs_quota_entry (or whatever its name is) will be good enough for any future filesystem is just not true. You have asserted that. I also explained why, I think. Proof by repeated assertion is...unconvincing. I

Re: fs-independent quotas

2011-11-14 Thread David Holland
On Sun, Nov 13, 2011 at 10:36:55PM +0100, Manuel Bouyer wrote: On Sat, Oct 29, 2011 at 05:14:30PM +, David Holland wrote: [...] 3. Abolish the proplib-based transport encoding. Since it turns out that the use of proplib for quotactl(2) is only to encode struct

Re: MAXNAMLEN vs NAME_MAX

2011-11-14 Thread David Holland
On Mon, Nov 14, 2011 at 04:03:09AM -0500, Matthew Mondor wrote: I was recently talking to some people who'd been working with some (physicists, I think) doing data-intensive simulation of some kind, and that reminded me: for various reasons, many people who are doing serious data

Re: bumping ARG_MAX

2011-11-14 Thread David Laight
On Sun, Nov 13, 2011 at 11:17:52PM +, David Holland wrote: pkgsrc has grown to the point where the following happens: valkyrie% pwd /usr/pkgsrc valkyrie% grep foo */*/Makefile /usr/bin/grep: Argument list too long. Exit 1 Use: grep -r --include Makefile foo . But don't

Re: MAXNAMLEN vs NAME_MAX

2011-11-14 Thread David Laight
On Mon, Nov 14, 2011 at 04:03:09AM -0500, Matthew Mondor wrote: On Sun, 13 Nov 2011 23:08:30 + David Holland dholland-t...@netbsd.org wrote: I was recently talking to some people who'd been working with some (physicists, I think) doing data-intensive simulation of some kind, and that

Re: bumping ARG_MAX

2011-11-14 Thread Mouse
valkyrie% grep foo */*/Makefile Use: grep -r --include Makefile foo . That (a) will include Makefiles at other depths than two (which may not be a problem in the specific example of pkgsrc, but in general makes it non-equivalent), (b) is grep-specifc, and (c) will walk the whole tre to full

Re: bumping ARG_MAX

2011-11-14 Thread David Holland
On Mon, Nov 14, 2011 at 05:39:02PM +, David Laight wrote: pkgsrc has grown to the point where the following happens: valkyrie% pwd /usr/pkgsrc valkyrie% grep foo */*/Makefile /usr/bin/grep: Argument list too long. Exit 1 Use: grep -r --include Makefile

Re: VOP_GETATTR: locking protocol change proposal

2011-11-14 Thread YAMAMOTO Takashi
hi, The vnode locking requirement currently allows to call VOP_GETATTR() on an unlocked vnode. This is orthogonal to all other operations that read data or metadata and want at least a shared lock. It also asks for trouble as the attributes may change while the operation is in progress.