[opensuse] Ext3 dir_index feature not available ?
Hello, according to http://wiki.dovecot.org/MailboxFormat/Maildir I wanted to enable the "dir_index" feature for my EXT3 filesystems. The Wiki page describes, that "CONFIG_EXT3_INDEX=y" must be enabled in the Kernel. Unfortunately I can not found this option in openSUSE's default kernel and also not in the current vanilla kernel: $ grep CONFIG_EXT3_INDEX /boot/config-2.6.18.8-0.5-default \ /usr/src/linux-2.6.22.5/.config (nothing) But this option is references in fs/ext3/*: $ grep -Rl EXT3_INDEX /usr/src/linux-2.6.22.5/ /usr/src/linux-2.6.22.5/fs/cifs/cifspdu.h /usr/src/linux-2.6.22.5/fs/ext3/dir.c /usr/src/linux-2.6.22.5/fs/ext3/ialloc.c /usr/src/linux-2.6.22.5/fs/ext3/namei.c /usr/src/linux-2.6.22.5/include/linux/ext3_fs.h /usr/src/linux-2.6.22.5/include/linux/ext3_jbd.h I also could not find any dir_index related functions within the ext3.ko kernel module: $ nm /lib/modules/2.6.18.8-0.5-default/kernel/fs/ext3/ext3.ko | grep make_indexed_dir It seems to me, that the Kernel developers forgot to include the option "EXT3_INDEX" into /usr/src/linux-2.6.22.5/fs/Kconfig. Does anyone has experience with this issue? I wanted to double check this before filing a bug report. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bjoern Voigt wrote:
I also could not find any dir_index related functions within the ext3.ko kernel module:
$ nm /lib/modules/2.6.18.8-0.5-default/kernel/fs/ext3/ext3.ko | grep make_indexed_dir
Sorry, it was my fault. "nm" is not correct here, "strings" is better: $ strings /lib/modules/2.6.18.8-0.5-default/kernel/fs/ext3/ext3.ko | grep make_indexed_dir make_indexed_dir Also "CONFIG_EXT3_INDEX" is automatically defined (from: linux-2.6.22.5/include/linux/ext3_fs.h): /* * Always enable hashed directories */ #define CONFIG_EXT3_INDEX So probably everything works fine. The Wiki page http://wiki.dovecot.org/MailboxFormat/Maildir confused me. I updated this Wiki page. Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Bjoern Voigt