Skip to contentSkip to conversation

htree indexing and 64-bit file systems

DISCUSSION Valerie Aurora Henson 3 participants 4 messages Feb 3, 2009 – Feb 7, 2009

lore
Share & tools
lore
#0 lore raw

I've just been ignoring htree indexing for now, but the regression failure in Ted's rebased 64bit tree looks suspiciously htree-related.

What's the interaction between htree and 64 bit file systems? What needs to change, if anything?

-VAL

#1 lore raw
Quoted 5 lines · Valerie Aurora Henson

I've just been ignoring htree indexing for now, but the regression failure in Ted's rebased 64bit tree looks suspiciously htree-related.

What's the interaction between htree and 64 bit file systems? What needs to change, if anything?

There shouldn't be any. The block numbers used in htree are logical block numbers (i.e., block 0 is the first block in the directory, block 1 is the 2nd block i the directory, etc.)

- Ted

#2 lore raw
Quoted 4 lines · Theodore Tso
Quoted 3 lines · Valerie Aurora Henson

I've just been ignoring htree indexing for now, but the regression failure in Ted's rebased 64bit tree looks suspiciously htree-related.

Quoted 8 lines
Quoted 2 lines

What's the interaction between htree and 64 bit file systems? What needs to change, if anything?

There shouldn't be any. The block numbers used in htree are logical block numbers (i.e., block 0 is the first block in the directory, block 1 is the 2nd block i the directory, etc.)

- Ted

What if the directory is REALLY HUGE? :) Say >68.719.476.736 files.

Can ext4 64bit have directories >8TiB?

MfG
Goswin

#3 lore raw
Quoted 3 lines · Goswin von Brederlow

What if the directory is REALLY HUGE? :) Say >68.719.476.736 files.

Can ext4 64bit have directories >8TiB?

No, ext4 directories are limited to 2TB. Htree directories are currently limited to a depth of two, which for smaller block sizes will be more of limitation than the maximum size limitation.

- Ted