RE: Questions for Storage Engineers

2014-08-19 Thread Andrew Bourhill
>This is a favor for the btrfs developers, one of my aunt's work's at >IBM and is able to ask questions >to a few storage engineers about features they would like to see in a >file system and it's tools. In Really ? I'm speechless. Its so fantastical.. Abo ___

Re: Help with btrfs project

2014-08-19 Thread Sudip Mukherjee
On Wed, Aug 20, 2014 at 8:03 AM, Nick Krause wrote: > Hey Guys, > This commit seems to be needed to fixed up based on what the btrfs > developers, are stating on their wiki. > Other then the TODO list, which we can discuss here, is there any > other parts of this patch that need to > be rewritten

Re: Kernel Compilation Error

2014-08-19 Thread Niamathullah sharief
i TRIED TO SOLVE THIS AND I AM UNABLE TO DO IT. Totally confused. On Tue, Aug 19, 2014 at 2:54 PM, Paul Bolle wrote: > [Send this to the correct list again. What a mess...] > > On Tue, 2014-08-19 at 11:23 +0200, Paul Bolle wrote: > > [Have you've been lectured on top posting already?] > > > >

a question on linux header extraction

2014-08-19 Thread Chan Kim
Hello, I'm using linux3.3 and recently while building busybox for a new command, found the BB uses linux kernel headers. So I looked up the internet and did 'make headers_install ARCH=.. CROSS_COMPILE=.. INSTALL_HDR_PATH=..'. Then I used the new header files instead of files under sparc-snake-l

Help with btrfs project

2014-08-19 Thread Nick Krause
Hey Guys, This commit seems to be needed to fixed up based on what the btrfs developers, are stating on their wiki. Other then the TODO list, which we can discuss here, is there any other parts of this patch that need to be rewritten, it's merged as of now but I can recreate new patches if needed

Re: Questions for Storage Engineers

2014-08-19 Thread Nick Krause
On Tue, Aug 19, 2014 at 3:32 PM, wrote: > On Tue, 19 Aug 2014 14:05:25 -0400, Nick Krause said: >> I can get the information :). I been banned from the list so I can't >> get them involved directly and it's better > > You *do* realize that the btrfs maintainers haven't been banned from > anyplace

Re: Questions for Storage Engineers

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 14:05:25 -0400, Nick Krause said: > I can get the information :). I been banned from the list so I can't > get them involved directly and it's better You *do* realize that the btrfs maintainers haven't been banned from anyplace, and have enough name recognition that if they wan

Re: Questions for Storage Engineers

2014-08-19 Thread Saket Sinha
I agree with Valdis. This is how it works. On Wed, Aug 20, 2014 at 12:52 AM, wrote: > On Tue, 19 Aug 2014 23:49:48 +0530, Saket Sinha said: >> Each filesystem has its own use-case. Like XFS is for big data, btrfs >> with its COW and other features meets some specific use-cases like >> facebook

Re: Questions for Storage Engineers

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 23:49:48 +0530, Saket Sinha said: > Each filesystem has its own use-case. Like XFS is for big data, btrfs > with its COW and other features meets some specific use-cases like > facebook where they have a scenario(refer > http://lwn.net/Articles/591780/ ) where btrfs suites then

Re: Questions for Storage Engineers

2014-08-19 Thread Saket Sinha
Each filesystem has its own use-case. Like XFS is for big data, btrfs with its COW and other features meets some specific use-cases like facebook where they have a scenario(refer http://lwn.net/Articles/591780/ ) where btrfs suites then perfectly. So first research, google and then post suchh ques

Re: Questions for Storage Engineers

2014-08-19 Thread Nick Krause
On Tue, Aug 19, 2014 at 1:58 PM, wrote: > On Tue, 19 Aug 2014 13:33:22 -0400, Nick Krause said: >> This is a favor for the btrfs developers, one of my aunt's work's at >> IBM and is able to ask questions >> to a few storage engineers about features they would like to see in a >> file system and i

Re: Questions for Storage Engineers

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 13:33:22 -0400, Nick Krause said: > This is a favor for the btrfs developers, one of my aunt's work's at > IBM and is able to ask questions > to a few storage engineers about features they would like to see in a > file system and it's tools. In > addition if you would like to as

Questions for Storage Engineers

2014-08-19 Thread Nick Krause
Hey Guys, This is a favor for the btrfs developers, one of my aunt's work's at IBM and is able to ask questions to a few storage engineers about features they would like to see in a file system and it's tools. In addition if you would like to ask them about how to improve btrfs too, I can send anot

Re: How to mmap kernel memory area to userspace ?

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 17:54:14 +0800, lxgeek said: >I want to mmap a kernel memory area which sk_buf->data pointer > into userspace. I want to do this , because this way can reduce a copy > from kernel to userspace. >How to fix it? Or, which book or project can help me ? Look at how

RE: How to mmap kernel memory area to userspace ?

2014-08-19 Thread Jeff Haran
> -Original Message- > From: kernelnewbies-boun...@kernelnewbies.org > [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of lxgeek > Sent: Tuesday, August 19, 2014 2:54 AM > To: kernelnewbies > Subject: How to mmap kernel memory area to userspace ? > > hi all: >I want to

Re: one thing at a time

2014-08-19 Thread Nick Krause
On Tue, Aug 19, 2014 at 8:13 AM, Greg Freemyer wrote: > > > On August 18, 2014 10:59:05 PM EDT, Nick Krause wrote: >>On Mon, Aug 18, 2014 at 10:55 PM, Nick Krause >>wrote: >>> On Mon, Aug 18, 2014 at 10:06 PM, Rik van Riel >>wrote: On 08/18/2014 01:13 PM, Nick Krause wrote: > Valdis, >

Re: fd type from number

2014-08-19 Thread Loris Degioanni
Sure, here's some more context. I'm one of the developers of sysdig (www.sysdig.org), a tool that captures system calls and uses them to offer advanced system monitoring. One of the features that our diver offers is the tcpdump-derived concept of "snaplen": when a system call with a buffer is c

Re: fd type from number

2014-08-19 Thread Loris Degioanni
On 8/19/2014 9:10 AM, Greg KH wrote: > On Tue, Aug 19, 2014 at 08:38:24AM -0700, Loris Degioanni wrote: >> (resending making sure this is not part of another thread) >> >> I'm looking for an efficient way to determine the type of an fd (file, >> socket...) given its number, from a kernel module. >

Re: fd type from number

2014-08-19 Thread Greg KH
On Tue, Aug 19, 2014 at 08:38:24AM -0700, Loris Degioanni wrote: > (resending making sure this is not part of another thread) > > I'm looking for an efficient way to determine the type of an fd (file, > socket...) given its number, from a kernel module. You don't have a "number" from within the

Re: fd type from number

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 08:38:24 -0700, Loris Degioanni said: > I'm looking for an efficient way to determine the type of an fd (file, > socket...) given its number, from a kernel module. What problem are you trying to solve here? There may be a better API for your problem. So step back - what are

Re: fd type from number

2014-08-19 Thread Daniel Baluta
On Tue, Aug 19, 2014 at 6:38 PM, Loris Degioanni wrote: > (resending making sure this is not part of another thread) > > I'm looking for an efficient way to determine the type of an fd (file, > socket...) given its number, from a kernel module. > The closest thing I found by looking at the kernel

fd type from number

2014-08-19 Thread Loris Degioanni
(resending making sure this is not part of another thread) I'm looking for an efficient way to determine the type of an fd (file, socket...) given its number, from a kernel module. The closest thing I found by looking at the kernel sources is sockfd_lookup(), which works but is limited to tellin

Re: Linked List versus Hashed Linked iIst

2014-08-19 Thread Valdis . Kletnieks
On Tue, 19 Aug 2014 07:45:48 -0400, Greg Freemyer said: > You can take that excellent code into your user space app and test it to your > heart's content. Not only can you do that, for something like a linked list > evaluation, you should do that. You have implied "tested" code is code that > com

Re: one thing at a time

2014-08-19 Thread Greg Freemyer
On August 18, 2014 10:59:05 PM EDT, Nick Krause wrote: >On Mon, Aug 18, 2014 at 10:55 PM, Nick Krause >wrote: >> On Mon, Aug 18, 2014 at 10:06 PM, Rik van Riel >wrote: >>> On 08/18/2014 01:13 PM, Nick Krause wrote: Valdis, I was interested in both at the same time, just asked about >

Re: fd type from number

2014-08-19 Thread Greg Freemyer
On August 18, 2014 8:46:16 PM EDT, Loris Degioanni wrote: >I'm looking for an efficient way to determine the type of an fd (file, >socket...) given its number, from a kernel module. >The closest thing I found by looking at the kernel sources is >sockfd_lookup(), which works but is limited to t

Re: Linked List versus Hashed Linked iIst

2014-08-19 Thread Greg Freemyer
On August 18, 2014 10:53:12 PM EDT, Nick Krause wrote: >On Mon, Aug 18, 2014 at 7:01 PM, Greg Freemyer > wrote: >> On Mon, Aug 18, 2014 at 4:20 PM, Nick Krause >wrote: >>> What are the advantages of the hashed linked list version over the >>> standard one and does it >>> increase the memory usa

How to mmap kernel memory area to userspace ?

2014-08-19 Thread lxgeek
hi all: I want to mmap a kernel memory area which sk_buf->data pointer into userspace. I want to do this , because this way can reduce a copy from kernel to userspace. How to fix it? Or, which book or project can help me ? Thank you. ___

Re: Kernel Compilation Error

2014-08-19 Thread Paul Bolle
[Send this to the correct list again. What a mess...] On Tue, 2014-08-19 at 11:23 +0200, Paul Bolle wrote: > [Have you've been lectured on top posting already?] > > On Tue, 2014-08-19 at 14:30 +0530, Niamathullah sharief wrote: > > I didnt find the place to enable CONFIG_MODULE_SIG_ALL > > > > I

Re: Kernel Compilation Error

2014-08-19 Thread Paul Bolle
[Send this to the correct list. Does kernelnewb...@nl.linux.org even exist?] On Tue, 2014-08-19 at 09:48 +0200, Paul Bolle wrote: > [fixed top posting.] > > On Tue, 2014-08-19 at 12:51 +0530, Pramod Gurav wrote: > > On Tue, Aug 19, 2014 at 12:03 PM, Niamathullah sharief > > wrote: > > > when i g

Re: Kernel Compilation Error

2014-08-19 Thread Pramod Gurav
Hi Sharief, It would always be better if you can provide the details of things you are doing and steps you have carried out until it failed. But if I can guess it right you are trying to upgrade kernel on local machine which is x86 based. The failure seems while trying to install newly compiled mo