From: Daniel Phillips <phillips@bonn-fries.net> To: linux-kernel@vger.kernel.org, ext2-devel@lists.sourceforge.net Subject: [UPDATE] Directory index for ext2 Date: Thu, 31 May 2001 18:13:43 +0200 Cc: Alexander Viro <viro@math.psu.edu>, Andreas Dilger <adilger@turbolinux.com> Changes: - Freshen to 2.4.5 - EXT2_FEATURE_COMPAT_DIR_INDEX flag finalized - Break up ext2_add_entry for aesthetic reasons (Al Viro) - Handle more than 64K directories per directory (Andreas Dilger) - Bug fix: new inode no longer inherits index flag (Andreas Dilger) - Bug fix: correct handling of error on index create (Al Viro) To-Do: - More factoring of ext2_add_entry - Fall back to linear search in case of corrupted index - Finalize hash function The patch is available at: http://nl.linux.org/~phillips/htree/dx.pcache-2.4.5 It requires Al Viro's directory-in-pcache patch: ftp://ftp.math.psu.edu/pub/viro/ext2-dir-patch-S5.gz To apply: cd mysource/linux zcat ext2-dir-patch-S5.gz | patch -p1 cat dx.pcache-2.4.5 | patch -p0 To create an indexed directory: mount /dev/hdxxx /test -o index mkdir /test/foo No known bugs, please test, thanks in advance. -- Daniel - 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/