public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: jmerkey@comcast.net
Cc: Andi Kleen <ak@muc.de>, linux-kernel@vger.kernel.org
Subject: Re: Ext3 File System "Too many files" with snort
Date: Fri, 09 Jul 2004 11:44:08 -0700	[thread overview]
Message-ID: <40EEE778.5000506@namesys.com> (raw)
In-Reply-To: <070920041830.21850.40EEE455000BE22E0000555A2200735446970A059D0A0306@comcast.net>

jmerkey@comcast.net wrote:

>>jmerkey@comcast.net writes:
>>
>>    
>>
>>>I may alter the on disk structures to increase this to something larger, say 
>>>      
>>>
>>16,000,000,
>>    
>>
>>>which would break ext3 on other systems.  I will look at the code for this 
>>>      
>>>
>to 
>  
>
>>see if this is 
>>    
>>
>>>even possible without the FS meta data growing so huge, it renders 
>>>      
>>>
>performance 
>  
>
>>poor.
>>    
>>
>>>These types of limits should probably be done away with with an 
>>>      
>>>
>architectural 
>  
>
>>change, 
>>
>>It's not only ext3 - one reason this limit is there because
>>in the old stat st_nlink was 16bit only. Now that stat64 is there
>>and glibc uses it by default it could be increased to 32bit, 
>>but you would need to think what to do with old applications that 
>>stat the directory. For files >2GB old stat returns an errno, 
>>maybe this would need to be done for such directories too.
>>
>>    
>>
>
>Andi,  
>
>Sounds like this is correct.    I will look at statfs().  I am very familiar 
>with this section of linux 
>with the VFS.  We should make this value 32 bit.  One solution would be to 
>instrument a 
>versioning field in the superblock so we can write the smarts into ext3/2/reiser  
>to handle
>different on-disk structures.  when a supoerblock gets read, it could detect 
>waht type of 
>on disk structures are instrumented.  
>  
>
Just use reiser4 which has disk format plugins.  reiserfs v3 should stay 
stable and undisturbed.

>Jeff  
>  
>
>>-Andi
>>
>>    
>>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>
>  
>


  reply	other threads:[~2004-07-09 18:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09 18:30 Ext3 File System "Too many files" with snort jmerkey
2004-07-09 18:44 ` Hans Reiser [this message]
2004-07-09 22:26 ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2004-07-10  6:00 jmerkey
2004-07-10  8:38 ` Dave Jones
2004-07-09 23:11 jmerkey
2004-07-09 19:20 jmerkey
2004-07-10  5:07 ` Hans Reiser
2004-07-10  8:33   ` Dave Jones
2004-07-10 17:37     ` Hans Reiser
2004-07-10 17:44       ` Christoph Hellwig
2004-07-10 17:57         ` Hans Reiser
2004-07-10 18:54           ` Christoph Hellwig
2004-07-10 19:23             ` Hans Reiser
2004-07-12 10:20           ` Paolo Ciarrocchi
2004-07-12 12:11             ` Jesper Juhl
2004-07-12 23:05               ` Bernd Eckenfels
2004-07-18  7:22             ` Hans Reiser
2004-07-10 19:11       ` Francois Romieu
2004-07-09 19:01 jmerkey
2004-07-09 19:08 ` Pete Harlan
2004-07-14  3:37   ` Ben Hoskings
2004-07-09 18:51 jmerkey
2004-07-09 18:30 jmerkey
2004-07-09 16:36 jmerkey
2004-07-09 17:04 ` Dave Jones
2004-07-08 17:51 jmerkey
2004-07-08 18:21 ` Andreas Dilger
2004-07-11 14:55   ` Michelle Konzack
2004-07-11 17:16     ` Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40EEE778.5000506@namesys.com \
    --to=reiser@namesys.com \
    --cc=ak@muc.de \
    --cc=jmerkey@comcast.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox