Re: [RFC] removing broken includes

2011-02-04 Thread Garrett Cooper
On Fri, Feb 4, 2011 at 10:53 PM, Roman Divacky wrote: > alex, > > I think you are the kind of person to try out > > http://code.google.com/p/include-what-you-use/ > > with fbsd :) Please be careful with this tool though. There's header pollution in them thar c files (refer to the FreeBSD and/

Re: [RFC] removing broken includes

2011-02-04 Thread Roman Divacky
alex, I think you are the kind of person to try out http://code.google.com/p/include-what-you-use/ with fbsd :) On Thu, Feb 03, 2011 at 10:12:57PM +, Alexander Best wrote: > hi everybody, > > i've started to check the source for broken includes, such as the one fixed in > r218189. so far

Re: Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack

2011-02-04 Thread Julian Elischer
On 2/3/11 4:25 PM, Ryan Stone wrote: On Thu, Feb 3, 2011 at 2:48 PM, Julian Elischer wrote: I had never considered passing a set of packets, but after my initial scoffing thoughts I realized that it would actually be a very interesting thought experiment to see if the ability to do that would b

Re: Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack

2011-02-04 Thread Robert Watson
On Thu, 3 Feb 2011, Julian Elischer wrote: On 2/3/11 10:08 AM, David Somayajulu wrote: Hi All, While sending the Received Ethernet Frames (non - LRO case) to the FreeBSD Network Stack via (struct ifnet *)->if_input((struct ifnet *), (struct *mbuf)); Is it possible to send multiple Ethernet

Re: [RFC] removing broken includes

2011-02-04 Thread Alexander Best
On Fri Feb 4 11, John Baldwin wrote: > On Thursday, February 03, 2011 5:12:57 pm Alexander Best wrote: > > hi everybody, > > > > i've started to check the source for broken includes, such as the one fixed > > in > > r218189. so far i've run through arch=amd64 and found only two broken > > inclu

[PATCH] OpenSolaris/ZFS: C++ compatibility

2011-02-04 Thread Justin T. Gibbs
The attached patch is sufficient to allow a C++ program to use libzfs. The motivation for these changes is work I'm doing on a ZFS fault handling daemon that is written in C++. SpectraLogic's intention is to return this work to the FreeBSD project once it is a bit more complete. Since these chang

Re: [RFC] removing broken includes

2011-02-04 Thread Alexander Best
On Fri Feb 4 11, John Baldwin wrote: > On Thursday, February 03, 2011 5:12:57 pm Alexander Best wrote: > > hi everybody, > > > > i've started to check the source for broken includes, such as the one fixed > > in > > r218189. so far i've run through arch=amd64 and found only two broken > > inclu

Re: [RFC] removing broken includes

2011-02-04 Thread John Baldwin
On Thursday, February 03, 2011 5:12:57 pm Alexander Best wrote: > hi everybody, > > i've started to check the source for broken includes, such as the one fixed in > r218189. so far i've run through arch=amd64 and found only two broken > includes, > which should be fixed by the attached patch. the

Re: Replacing a failed disk in raidz2 zfs (and gpt)

2011-02-04 Thread Thomas E. Spanjaard
On 02/03/2011 06:11, Philip M. Gollucci wrote: > I can't for the life of me get zpool to replace it. I can't remember why > I used gpt instead of direct disks for the zmysql pool (but thats how it > is). ISTR you had to online a drive first, then issue the replace command. Also, it could be you us

Re: [RFC] removing broken includes

2011-02-04 Thread Alexander Best
On Thu Feb 3 11, Alexander Best wrote: > hi everybody, > > i've started to check the source for broken includes, such as the one fixed in > r218189. so far i've run through arch=amd64 and found only two broken > includes, > which should be fixed by the attached patch. the commands i'm using are: