Re: ZFS Panic on USB "SCSI" Device

2007-06-05 Thread Ali Mashtizadeh
If anyone is curious it seems this is a somewhat random occurrence. I think its unrelated to ZFS probably so nevermind. It works flawlessly now :-) On 6/4/07, Ali Mashtizadeh <[EMAIL PROTECTED]> wrote: I have been using ZFS on my laptop with a ZFS root works flawlessly. The problem is that I p

kern.ngroups question

2007-06-05 Thread Reuben A. Popp
Hello all, Can someone explain to me the rationale behind having ngroups_max set to 16 by default? I came across this issue originally when working on our Samba implementation (samba-3 out of ports, running on 6-STABLE). We have some users that belong to a number of groups, some of whom need

Re: kern.ngroups question

2007-06-05 Thread Andre Albsmeier
On Tue, 05-Jun-2007 at 11:49:44 -0500, Reuben A. Popp wrote: > Hello all, > > Can someone explain to me the rationale behind having ngroups_max set to 16 > by > default? > > I came across this issue originally when working on our Samba implementation > (samba-3 out of ports, running on 6-STABL

Re: kern.ngroups question

2007-06-05 Thread Julian Elischer
Reuben A. Popp wrote: Hello all, Can someone explain to me the rationale behind having ngroups_max set to 16 by default? NFS only supports this much by default (from memory). Samba (in the guise of Jeremy Allison) has asked us to follow Linux's lead and support an arbitrary number of Group

Re: Writing a plain text file to disk from kernel space

2007-06-05 Thread John Baldwin
On Thursday 24 May 2007 11:26:58 pm Lawrence Stewart wrote: > Comments inline... > > Dag-Erling Smørgrav wrote: > > Lawrence Stewart <[EMAIL PROTECTED]> writes: > > > >> Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > >> > >>> Since you are writing kernel code, I assume you have KDB/DDB

Re: stopping callouts

2007-06-05 Thread John Baldwin
On Monday 04 June 2007 05:39:32 am Artis Caune wrote: > Sam Leffler wrote: > > > > If you use callout_init_mtx then use callout_stop while holding my_mtx; > > if the callout is blocked waiting for my_mtx the request will be discarded. > > > > callout_drain should not be called while holding my_

Re: Writing a plain text file to disk from kernel space

2007-06-05 Thread Lawrence Stewart
Hi John, Thanks for the reply and additional information on locks. The solution I've just completed working on is designed exactly as you describe. We're about to begin testing and evaluating the module, and we'll be releasing the code and 2 technical reports related to it within the coming w