#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
262723 |
|
04-Mar-2014 |
pfg |
MFC r262623, r262667:
ext2fs: use of tab vs spaces.
Consistently use a single tab after a #define as mentioned in style(9). Use tabs instead of space for indenting. Fix a typo: "hash_vesion".
No functional change.
|
#
261311 |
|
31-Jan-2014 |
pfg |
MFC r260988, r261034, r261120, r261235:
ext2fs: Properly the EXT4_EXTENTS and EXT4_INDEX to the inode flags.
In order to support Ext4 extents we need to pass the Ext4 inode flags without interfering with the chflags. This is better done by using the i_flag field in the inode and doing proper translation to the linux ext4 equivalents.
Solve a potential corruption issue in the dirindex code. The dirindex code can now be renabled as the problems related to it have been solved.
Suggested by: bde Tested by: kevlo
|
#
259904 |
|
26-Dec-2013 |
pfg |
MFC r258904, r259780: Small ext2fs updates.
Add two new reserved inodes. Make the hashing algorithm match the linux code.
PR: kern/183230
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
254260 |
|
12-Aug-2013 |
pfg |
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. MFC after: 3 weeks
|
#
251809 |
|
16-Jun-2013 |
pfg |
Re-sort ext2fs headers to make things easier to find.
In the ext2fs driver we have a mixture of headers:
- The ext2_ prefixed headers have strong influence from NetBSD and are carry specific ext2/3/4 information. - The unprefixed headers are inspired on UFS and carry implementation specific information.
Do some small adjustments so that the information is easier to find coming from either UFS or the NetBSD implementation.
MFC after: 3 days
|
#
251346 |
|
03-Jun-2013 |
pfg |
ext2fs: space vs tab.
Obtained from: Christoph Mallon MFC after: 3 days
|
#
251344 |
|
03-Jun-2013 |
pfg |
ext2fs: Small cosmetic fixes.
Make a long macro readable and sort a header.
Obtained from: Christoph Mallon MFC after: 3 days
|
#
245952 |
|
26-Jan-2013 |
pfg |
Clean some 'svn:executable' properties in the tree.
Submitted by: Christoph Mallon MFC after: 3 days
|
#
245121 |
|
07-Jan-2013 |
pfg |
ext2fs: cleanup de dinode structure.
It was plagued with style errors and the offsets had been lost. While here took the time to update the fields according to the latest ext4 documentation.
Reviewed by: bde MFC after: 3 days
|
#
244475 |
|
20-Dec-2012 |
pfg |
More constant renaming in preparation for newer features.
We also try to make better use of the fs flags instead of trying adapt the code according to the fs structures. In the case of subsecond timestamps and birthtime we now check that the feature is explicitly enabled: previously we only checked that the reserved space was available and silently wrote them.
This approach is much safer, especially if the filesystem happens to use embedded inodes or support EAs.
Discussed with: Zheng Liu MFC after: 5 days
|
#
243652 |
|
28-Nov-2012 |
pfg |
Update some definitions or make them match NetBSD's headers.
Bring several definitions required for newer ext4 features.
Rename EXT2F_COMPAT_HTREE to EXT2F_COMPAT_DIRHASHINDEX since it is not being used yet and the new name is more compatible with NetBSD and Linux.
This change is purely cosmetic and has no effect on the real code.
Obtained from: NetBSD MFC after: 3 days
|
#
239636 |
|
24-Aug-2012 |
pfg |
Add some basic definitions for a future htree implementation.
MFC after: 3 days
|
#
232703 |
|
08-Mar-2012 |
pfg |
Add support for ns timestamps and birthtime to the ext2/3 driver.
When using big inodes there is sufficient space in ext3 to keep extra resolution and birthtime (creation) timestamps. The appropriate fields in the on-disk inode have been approved for a long time but support for this in ext3 has not been widely distributed.
In preparation for ext4 most linux distributions have enabled by default such bigger inodes and some people use nanosecond timestamps in ext3. We now support those when the inode is big enough and while we do recognize the EXT4F_ROCOMPAT_EXTRA_ISIZE, we maintain the extra timestamps even when they are not used.
An additional note by Bruce Evans: We blindly accept unrepresentable tv_nsec in VOP_SETATTR(), but all file systems have always done that. When POSIX gets around to specifying the behaviour, it will probably require certain rounding to the fs's resolution and not rejecting the request. This unfortunately means that syscalls that set times can't really tell if they succeeded without reading back the times using stat() or similar and checking that they were set close enough.
Reviewed by: bde Approved by: jhb (mentor) MFC after: 2 weeks
|
#
231168 |
|
07-Feb-2012 |
pfg |
Update the data structures with some fields reserved for ext4 but that can be used in ext3 mode.
Also adjust the internal inode to carry the birthtime, like in UFS, which is starting to get some use when big inodes are available.
Right now these are just placeholders for features to come.
Approved by: jhb (mentor) MFC after: 2 weeks
|
#
221126 |
|
27-Apr-2011 |
jhb |
Various style fixes including using uint*_t instead of u_int*_t.
Submitted by: Pedro F. Giffuni giffunip at yahoo
|
#
217703 |
|
21-Jan-2011 |
jhb |
- Move special inode constants to ext2_dinode.h and rename them to match NetBSD. - Add a constant for the HASJOURNAL compat flag.
PR: kern/153584 Submitted by: Pedro F. Giffuni giffunip at yahoo
|
#
217585 |
|
19-Jan-2011 |
jhb |
Whitespace and style fixes.
|
#
202283 |
|
14-Jan-2010 |
lulf |
Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer of 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>
|