public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* Question about e2fsck and HTree
@ 2010-04-22 19:43 Evgeniy Ivanov
  2010-04-24  0:45 ` tytso
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Ivanov @ 2010-04-22 19:43 UTC (permalink / raw)
  To: linux-ext4

Hello,

I have a question about ext2/ext3.

As I understand directory indexing is compatible feature, currently my
implementations doesn't support HTree.
I do some things (make kernel and libs) with FS and check it with
e2fsck: it creates index (everything else is ok, exit status is 1).
Then I do same things with FS and check again:

HTree directory inode 23316 has an invalid root node.

Is it OK for implementation without directory indexing?


-- 
Evgeniy Ivanov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about e2fsck and HTree
  2010-04-22 19:43 Question about e2fsck and HTree Evgeniy Ivanov
@ 2010-04-24  0:45 ` tytso
  2010-04-25 22:10   ` Evgeniy Ivanov
  0 siblings, 1 reply; 4+ messages in thread
From: tytso @ 2010-04-24  0:45 UTC (permalink / raw)
  To: Evgeniy Ivanov; +Cc: linux-ext4

On Thu, Apr 22, 2010 at 11:43:30PM +0400, Evgeniy Ivanov wrote:
> Hello,
> 
> I have a question about ext2/ext3.
> 
> As I understand directory indexing is compatible feature, currently my
> implementations doesn't support HTree.
> I do some things (make kernel and libs) with FS and check it with
> e2fsck: it creates index (everything else is ok, exit status is 1).
> Then I do same things with FS and check again:
> 
> HTree directory inode 23316 has an invalid root node.
> 
> Is it OK for implementation without directory indexing?

If your implementation of extN don't support HTree, then it's
important that when you modify a filesystem you clear the inode's
EXT2_INDEX_FL flag.   Then the right thing will happen....

	      	      	       	     - Ted

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about e2fsck and HTree
  2010-04-24  0:45 ` tytso
@ 2010-04-25 22:10   ` Evgeniy Ivanov
  2010-04-25 22:33     ` Theodore Tso
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Ivanov @ 2010-04-25 22:10 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4

On Sat, Apr 24, 2010 at 4:45 AM,  <tytso@mit.edu> wrote:
> On Thu, Apr 22, 2010 at 11:43:30PM +0400, Evgeniy Ivanov wrote:
>> Hello,
>>
>> I have a question about ext2/ext3.
>>
>> As I understand directory indexing is compatible feature, currently my
>> implementations doesn't support HTree.
>> I do some things (make kernel and libs) with FS and check it with
>> e2fsck: it creates index (everything else is ok, exit status is 1).
>> Then I do same things with FS and check again:
>>
>> HTree directory inode 23316 has an invalid root node.
>>
>> Is it OK for implementation without directory indexing?
>
> If your implementation of extN don't support HTree, then it's
> important that when you modify a filesystem you clear the inode's
> EXT2_INDEX_FL flag.   Then the right thing will happen....

Thank you very much again :)



-- 
Evgeniy Ivanov
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about e2fsck and HTree
  2010-04-25 22:10   ` Evgeniy Ivanov
@ 2010-04-25 22:33     ` Theodore Tso
  0 siblings, 0 replies; 4+ messages in thread
From: Theodore Tso @ 2010-04-25 22:33 UTC (permalink / raw)
  To: Evgeniy Ivanov; +Cc: linux-ext4


On Apr 25, 2010, at 6:10 PM, Evgeniy Ivanov wrote:
>> 
>> If your implementation of extN don't support HTree, then it's
>> important that when you modify a filesystem you clear the inode's
>> EXT2_INDEX_FL flag.   Then the right thing will happen....
> 
> Thank you very much again :)

Just to be clear, since I typo'ed the above -- when you modify a _directory_ you must clear the directory's EXT2_INDEX_FL flag.

Regards,

-- Ted


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-25 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 19:43 Question about e2fsck and HTree Evgeniy Ivanov
2010-04-24  0:45 ` tytso
2010-04-25 22:10   ` Evgeniy Ivanov
2010-04-25 22:33     ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox