]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Add read-only support for extents in ext2fs.
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Sep 2013 18:46:11 +0000 (18:46 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Sep 2013 18:46:11 +0000 (18:46 +0000)
commit16d601d46073245485a659b289586d5e19a7a740
treebaa4852ddfa82e92a86bb1ec5d8c00c398db94c4
parenta42e2cb161281a5b6307a161601cc30655485eea
Add read-only support for extents in ext2fs.

Basic support for extents was implemented by Zheng Liu as part
of his Google Summer of Code in 2010. This support is read-only
at this time.

In addition to extents we also support the huge_file extension
for read-only purposes. This works nicely with the additional
support for birthtime/nanosec timestamps and dir_index that
have been added lately.

The implementation may not work for all ext4 filesystems as
it doesn't support some features that are being enabled by
default on recent linux like flex_bg. Nevertheless, the feature
should be very useful for migration or simple access in
filesystems that have been converted from ext2/3 or don't use
incompatible features.

Special thanks to Zheng Liu for his dedication and continued
work to support ext2 in FreeBSD.

Submitted by: Zheng Liu (lz@)
Reviewed by: Mike Ma, Christoph Mallon (previous version)
Sponsored by: Google Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/9@255188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/ext2fs/ext2_alloc.c
sys/fs/ext2fs/ext2_balloc.c
sys/fs/ext2fs/ext2_bmap.c
sys/fs/ext2fs/ext2_extern.h
sys/fs/ext2fs/ext2_inode.c
sys/fs/ext2fs/ext2_subr.c
sys/fs/ext2fs/ext2_vnops.c
sys/fs/ext2fs/inode.h