|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
2ff63af9 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0 |
|
| #
344243fc |
| 26-Jan-2023 |
Fedor Uporov <[email protected]> |
Fix block bitmap end position computation
PR: 261850 Reported by: chenguang.wang MFC after: 2 weeks
|
| #
829f0bcb |
| 19-Dec-2022 |
Mateusz Guzik <[email protected]> |
vfs: add the concept of vnode state transitions
To quote from a comment above vput_final: <quote> * XXX Some filesystems pass in an exclusively locked vnode and strongly depend * on the lock being h
vfs: add the concept of vnode state transitions
To quote from a comment above vput_final: <quote> * XXX Some filesystems pass in an exclusively locked vnode and strongly depend * on the lock being held all the way until VOP_INACTIVE. This in particular * happens with UFS which adds half-constructed vnodes to the hash, where they * can be found by other code. </quote>
As is there is no mechanism which allows filesystems to denote that a vnode is fully initialized, consequently problems like the above are only found the hard way(tm).
Add rudimentary support for state transitions, which in particular allow to assert the vnode is not legally unlocked until its fate is decided (either construction finishes or vgone is called to abort it).
The new field lands in a 1-byte hole, thus it does not grow the struct.
Bump __FreeBSD_version to 1400077
Reviewed by: kib (previous version) Tested by: pho Differential Revision: https://reviews.freebsd.org/D37759
show more ...
|
|
Revision tags: release/12.4.0, release/13.1.0 |
|
| #
8ea3ceda |
| 06-Feb-2022 |
Gordon Bergling <[email protected]> |
fs: fix a few common typos in source code comments
- s/quadradically/quadratically/ - s/persistant/persistent/
Obtained from: NetBSD MFC after: 3 days
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0 |
|
| #
c2f0581e |
| 06-Oct-2020 |
Pedro F. Giffuni <[email protected]> |
ext2fs: minor typo.
Obtained from: Dragonfly MFC after: 3 days
|
| #
586ee69f |
| 01-Sep-2020 |
Mateusz Guzik <[email protected]> |
fs: clean up empty lines in .c and .h files
|
| #
39bc40e3 |
| 20-Jul-2020 |
Mark Johnston <[email protected]> |
ext2fs: Stop checking for failures from malloc(M_WAITOK).
PR: 240545 Submitted by: Andrew Reiter <[email protected]> Reviewed by: fsu MFC after: 1 week Differential Revision: https://reviews.freebsd.o
ext2fs: Stop checking for failures from malloc(M_WAITOK).
PR: 240545 Submitted by: Andrew Reiter <[email protected]> Reviewed by: fsu MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25707
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
cd3acfe7 |
| 17-May-2020 |
Fedor Uporov <[email protected]> |
Add BE architectures support.
Author of most initial version: pfg (https://reviews.freebsd.org/D23259)
Reviewed by: pfg MFC after: 3 months
Differential Revision: https://reviews.freebs
Add BE architectures support.
Author of most initial version: pfg (https://reviews.freebsd.org/D23259)
Reviewed by: pfg MFC after: 3 months
Differential Revision: https://reviews.freebsd.org/D24685
show more ...
|
| #
ec81c9cc |
| 17-May-2020 |
Fedor Uporov <[email protected]> |
Add inode bitmap tail initialization.
Make ext2fs compatible with changes introduced in e2fsprogs v1.45.2. Now the tail of inode bitmap is filled with 0xff pattern explicitly during bitmap initializ
Add inode bitmap tail initialization.
Make ext2fs compatible with changes introduced in e2fsprogs v1.45.2. Now the tail of inode bitmap is filled with 0xff pattern explicitly during bitmap initialization phase to avoid e2fsck error like: "Padding at end of inode bitmap is not set."
show more ...
|
| #
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <[email protected]> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
fe8b3456 |
| 06-Sep-2019 |
Conrad Meyer <[email protected]> |
ext2fs: Remove redundant brelse() after r294954
Coccinelle:
@ rule1 @ identifier __error; @@ ... int __error; ...
@ rule2 depends on rule1 @ identifier rule1.__error; identifier __bp; @@
_
ext2fs: Remove redundant brelse() after r294954
Coccinelle:
@ rule1 @ identifier __error; @@ ... int __error; ...
@ rule2 depends on rule1 @ identifier rule1.__error; identifier __bp; @@
__error = ( bread | bread_gb | breadn | breadn_flags ) (..., &__bp); if ( ( __error | __error != 0 ) ) { ... - brelse(__bp); ... }
No functional change.
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
ebc94b66 |
| 16-Apr-2019 |
Fedor Uporov <[email protected]> |
ext2fs: Initial version of DTrace support.
Reviewed by: pfg, gnn MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19848
|
| #
0204d1c7 |
| 15-Mar-2019 |
Fedor Uporov <[email protected]> |
Remove unneeded mount point unlock function calls.
The ext2_nodealloccg() function unlocks the mount point in case of successful node allocation. The additional unlocks are not required and should b
Remove unneeded mount point unlock function calls.
The ext2_nodealloccg() function unlocks the mount point in case of successful node allocation. The additional unlocks are not required and should be removed.
PR: 236452 Reported by: pho MFC after: 3 days
show more ...
|
| #
3eed9f20 |
| 04-Mar-2019 |
Fedor Uporov <[email protected]> |
Do not read the on-disk inode in case of vnode allocation.
Reported by: Christopher Krah <[email protected]> Reported as: FS-6-EXT2-4: Denial Of Service in mkdir-0 (ext2_mkdir/vn_rdwr) Revie
Do not read the on-disk inode in case of vnode allocation.
Reported by: Christopher Krah <[email protected]> Reported as: FS-6-EXT2-4: Denial Of Service in mkdir-0 (ext2_mkdir/vn_rdwr) Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19327
show more ...
|
| #
4ff6603a |
| 04-Mar-2019 |
Fedor Uporov <[email protected]> |
Do not panic if inode bitmap is corrupted.
admbug: 804 Reported by: Ilja Van Sprundel <[email protected]> Reviewed by: pfg MFC after: 1 week
Differential Revision: htt
Do not panic if inode bitmap is corrupted.
admbug: 804 Reported by: Ilja Van Sprundel <[email protected]> Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19325
show more ...
|
| #
80a4a971 |
| 04-Mar-2019 |
Fedor Uporov <[email protected]> |
Validate block bitmaps.
Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19324
|
| #
6e38bf94 |
| 04-Mar-2019 |
Fedor Uporov <[email protected]> |
Make superblock reading logic more strict.
Add more on-disk superblock consistency checks to ext2_compute_sb_data() function. It should decrease the probability of mounting filesystems with corrupte
Make superblock reading logic more strict.
Add more on-disk superblock consistency checks to ext2_compute_sb_data() function. It should decrease the probability of mounting filesystems with corrupted superblock data.
Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19322
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
4c1e1d2b |
| 21-Aug-2018 |
Fedor Uporov <[email protected]> |
Change unused inodes counters behavior in the cylinder groups. Make it more close to native ext4 implementation to avoid fsck errors.
|
|
Revision tags: release/11.2.0 |
|
| #
e06e5241 |
| 13-May-2018 |
Fedor Uporov <[email protected]> |
Fix EXT2FS_DEBUG definition usage.
Reviewed by: pfg MFC after: 3 months
Differential Revision: https://reviews.freebsd.org/D15394
|
| #
d8ba45e2 |
| 17-Mar-2018 |
Ed Maste <[email protected]> |
Revert r313780 (UFS_ prefix)
|
| #
1e2b9afc |
| 17-Mar-2018 |
Ed Maste <[email protected]> |
Prefix UFS symbols with UFS_ to reduce namespace pollution
Followup to r313780. Also prefix ext2's and nandfs's versions with EXT2_ and NANDFS_.
Reported by: kib Reviewed by: kib, mckusick Sponsor
Prefix UFS symbols with UFS_ to reduce namespace pollution
Followup to r313780. Also prefix ext2's and nandfs's versions with EXT2_ and NANDFS_.
Reported by: kib Reviewed by: kib, mckusick Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D9623
show more ...
|
| #
c0f16c65 |
| 29-Jan-2018 |
Fedor Uporov <[email protected]> |
Add flex_bg/meta_bg features RW support.
Reviewed by: pfg MFC after: 6 months
Differential Revision: https://reviews.freebsd.org/D13964
|
| #
512f29d1 |
| 14-Jan-2018 |
Fedor Uporov <[email protected]> |
Add metadata_csum feature support.
Reviewed by: pfg (mentor) Approved by: pfg (mentor) MFC after: 6 months
Differential Revision: https://reviews.freebsd.org/D13810
|
| #
3acd9182 |
| 05-Jan-2018 |
Fedor Uporov <[email protected]> |
Add 64bit feature support.
Reviewed by: kevlo, pfg (mentor) Approved by: pfg (mentor) MFC after: 6 months
Differential Revision: https://reviews.freebsd.org/D11530
|
| #
51369649 |
| 20-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|