ext2fs: Add uninit_bg feature support.From the linux tune2fs(8) manpage:"Allow the kernel to initialize bitmaps and inode tables and keep a highwatermark for the unused inodes in a filesystem, to
ext2fs: Add uninit_bg feature support.From the linux tune2fs(8) manpage:"Allow the kernel to initialize bitmaps and inode tables and keep a highwatermark for the unused inodes in a filesystem, to reduce e2fsck(8) time.This first e2fsck run after enabling this feature will take the full time,but subsequent e2fsck runs will take only a fraction of the original time,depending on how full the file system is."Submitted by: Fedor UporovDifferential Revision: https://reviews.freebsd.org/D11211
show more ...
Support for linux ext2fs posix-draft ACLs.This is closely tied to the Extended Attribute implementation.Submitted by: Fedor UporovReviewed by: kevlo, pfgDifferential Revision: https://reviews.
Support for linux ext2fs posix-draft ACLs.This is closely tied to the Extended Attribute implementation.Submitted by: Fedor UporovReviewed by: kevlo, pfgDifferential Revision: https://reviews.freebsd.org/D10807
ext2fs: Initial support for Extended Attributes.Currently read-only.Submitted by: Fedor UporovMFC after: 3 weeksDifferential Revision: https://reviews.freebsd.org/D10151
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
ext2fs: Bring back the htree dir_index implementation.The htree dir_index is perhaps one of the most characteristicfeatures of the linux ext3 implementation. It was removedin r281670, due to repe
ext2fs: Bring back the htree dir_index implementation.The htree dir_index is perhaps one of the most characteristicfeatures of the linux ext3 implementation. It was removedin r281670, due to repeated bug reports.Damjan Jovanic detected and fixed three bugs and did somestress testing by building Apache OpenOffice on top of itso it is now in good shape to bring back.Differential Revision: https://reviews.freebsd.org/D5007Submitted by: Damjan JovanovicReviewed by: pfgTested by: phoRelnotes: YesMFC after: 2 months (only 10.x)
Drop experimental dir_index support.The htree directory index is a highly desirable feature for researchpurposes and was meant to improve performance in our ext2/3 driver.Unfortunately our implem
Drop experimental dir_index support.The htree directory index is a highly desirable feature for researchpurposes and was meant to improve performance in our ext2/3 driver.Unfortunately our implementation has two problems:- It never really delivered any performance improvement.- It appears to corrupt the filesystem in undetermined circumstances.Strictly speaking dir_index is not required for read/write support inext2/3 and our limited ext4 support still works fine without it.Regain stability in the ext2 driver by removing it. We may need it back(fixed) if we want to support encrypted ext4 support but thanks to thewonders of version control we can always revert this change and bring itback.PR: 191895PR: 198731PR: 199309MFC after: 5 days
Add read-only support for extents in ext2fs.Basic support for extents was implemented by Zheng Liu as partof his Google Summer of Code in 2010. This support is read-onlyat this time.In addition
Add read-only support for extents in ext2fs.Basic support for extents was implemented by Zheng Liu as partof his Google Summer of Code in 2010. This support is read-onlyat this time.In addition to extents we also support the huge_file extensionfor read-only purposes. This works nicely with the additionalsupport for birthtime/nanosec timestamps and dir_index thathave been added lately.The implementation may not work for all ext4 filesystems asit doesn't support some features that are being enabled bydefault on recent linux like flex_bg. Nevertheless, the featureshould be very useful for migration or simple access infilesystems that have been converted from ext2/3 or don't useincompatible features.Special thanks to Zheng Liu for his dedication and continuedwork to support ext2 in FreeBSD.Submitted by: Zheng Liu (lz@)Reviewed by: Mike Ma, Christoph Mallon (previous version)Sponsored by: Google Inc.MFC after: 3 weeks
Initial implementation of the HTree directory index.This is a port of NetBSD's GSoC 2012 Ext3 HTree directory indexingby Vyacheslav Matyushin. It was cleaned up and enhanced for FreeBSDby Zheng
Initial implementation of the HTree directory index.This is a port of NetBSD's GSoC 2012 Ext3 HTree directory indexingby Vyacheslav Matyushin. It was cleaned up and enhanced for FreeBSDby Zheng Liu (lz@).This is an excellent example of work shared among different projects:Vyacheslav was able to look at an early prototype from Zheng Liu whowas also able to check the code from Haiku (with permission).As in linux, the feature is not available by default and must beenabled explicitly with tune2fs. We still do not support theworkarounds required in readdir for NFS.Submitted by: Zheng LiuTested by: Mike MaSponsored by: Google Inc.MFC after: 1 week
Sync with several changes in UFS/FFS:- 77115: Implement support for O_DIRECT.- 98425: Fix a performance issue introduced in 70131 that was causing reads before writes even when writing full block
Sync with several changes in UFS/FFS:- 77115: Implement support for O_DIRECT.- 98425: Fix a performance issue introduced in 70131 that was causing reads before writes even when writing full blocks.- 98658: Rename the BALLOC flags from B_* to BA_* to avoid confusion with the struct buf B_ flags.- 100344: Merge the BA_ and IO_ flags so so that they may both be used in the same flags word. This merger is possible by assigning the IO_ flags to the low sixteen bits and the BA_ flags the high sixteen bits.- 105422: Fix a file-rewrite performance case.- 129545: Implement IO_INVAL in VOP_WRITE() by marking the buffer as "no cache".- Readd the DOINGASYNC() macro and use it to control asynchronous writes. Change i-node updates to honor DOINGASYNC() instead of always being synchronous.- Use a PRIV_VFS_RETAINSUGID check instead of checking cr_uid against 0 directly when deciding whether or not to clear suid and sgid bits.Submitted by: Pedro F. Giffuni giffunip at yahoo
Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summerof Code 2009:- BSDL block and inode allocation policies for ext2fs. This involves the use FFS1 style block and inode
Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summerof Code 2009:- BSDL block and inode allocation policies for ext2fs. This involves the use FFS1 style block and inode allocation for ext2fs. Preallocation was removed since it was GPL'd.- Make ext2fs MPSAFE by introducing locks to per-mount datastructures.- Fixes for kern/122047 PR.- Various small bugfixes.- Move out of gnu/ directory.Sponsored by: Google Inc.Submitted by: Aditya Sarawgi <sarawgi.aditya AT SPAMFREE gmail DOT com>
Move ext2fs from src/gnu to src/gnu/fs.Discussed on arch@.Reviewed by: kanApproved by: re (blanket), kan
Use vfs_hash() instead of home-rolled
Complete the separation of ext2fs from ufs by copying the remainingshared code and converting all ufs references. Originally it mayhave made sense to share common features between the two filesyste
Complete the separation of ext2fs from ufs by copying the remainingshared code and converting all ufs references. Originally it mayhave made sense to share common features between the two filesystems,but recently it has only caused problems, the UFS2 work being thefinal straw.All UFS_* indirect calls are now direct calls to ext2_* functions,and ext2fs-specific mount and inode structures have been introduced.
Fixed some style bugs (disordered SRCS and garbage comment near EOF).
Drop <bsd.man.mk> support from <bsd.kmod.mk>.Not objected to by: -current
Add ext2fs module