]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r294504, r294652, r294653, r294655:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 17 Mar 2016 19:28:15 +0000 (19:28 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 17 Mar 2016 19:28:15 +0000 (19:28 +0000)
commitad15b015f7a378872afb5fb56d6f7a46ea9876bb
tree6c7c7f6da164b0d09095e2fbac1aaa1f14578ff5
parentd39065014d246c5fe017069e3d23c3a7ad9f13a2
MFC r294504, r294652, r294653, r294655:

ext2fs: Bring back the htree dir_index implementation.

The htree dir_index is perhaps one of the most characteristic
features of the linux ext3 implementation. It was removed
in r281670, due to repeated bug reports.

Damjan Jovanic detected and fixed three bugs and did some
stress testing by building Apache OpenOffice on top of it
so it is now in good shape to bring back.

Differential Revision: https://reviews.freebsd.org/D5007

Submitted by: Damjan Jovanovic
Reviewed by: pfg
RelNotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@296992 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
sys/conf/files
sys/fs/ext2fs/ext2_alloc.c
sys/fs/ext2fs/ext2_dinode.h
sys/fs/ext2fs/ext2_dir.h
sys/fs/ext2fs/ext2_extern.h
sys/fs/ext2fs/ext2_hash.c [new file with mode: 0644]
sys/fs/ext2fs/ext2_htree.c [new file with mode: 0644]
sys/fs/ext2fs/ext2_inode_cnv.c
sys/fs/ext2fs/ext2_lookup.c
sys/fs/ext2fs/ext2_vfsops.c
sys/fs/ext2fs/ext2fs.h
sys/fs/ext2fs/inode.h
sys/modules/ext2fs/Makefile