#
29363fb4 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
2ff63af9 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
344243fc |
| 26-Jan-2023 |
Fedor Uporov <fsu@FreeBSD.org> |
Fix block bitmap end position computation
PR: 261850 Reported by: chenguang.wang MFC after: 2 weeks
|
#
829f0bcb |
| 19-Dec-2022 |
Mateusz Guzik <mjg@FreeBSD.org> |
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 <gbe@FreeBSD.org> |
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 <pfg@FreeBSD.org> |
ext2fs: minor typo.
Obtained from: Dragonfly MFC after: 3 days
|
#
586ee69f |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
fs: clean up empty lines in .c and .h files
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
39bc40e3 |
| 20-Jul-2020 |
Mark Johnston <markj@FreeBSD.org> |
ext2fs: Stop checking for failures from malloc(M_WAITOK).
PR: 240545 Submitted by: Andrew Reiter <arr@watson.org> 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 <arr@watson.org> 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 <fsu@FreeBSD.org> |
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 <fsu@FreeBSD.org> |
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 ...
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
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 |
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
fe8b3456 |
| 06-Sep-2019 |
Conrad Meyer <cem@FreeBSD.org> |
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 |
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
ebc94b66 |
| 16-Apr-2019 |
Fedor Uporov <fsu@FreeBSD.org> |
ext2fs: Initial version of DTrace support.
Reviewed by: pfg, gnn MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19848
|
#
2aaf9152 |
| 18-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345275
|
#
0204d1c7 |
| 15-Mar-2019 |
Fedor Uporov <fsu@FreeBSD.org> |
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 ...
|
#
b18a4cca |
| 05-Mar-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344786
|
#
844fc3e9 |
| 04-Mar-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344549 through r344775.
|
#
3eed9f20 |
| 04-Mar-2019 |
Fedor Uporov <fsu@FreeBSD.org> |
Do not read the on-disk inode in case of vnode allocation.
Reported by: Christopher Krah <krah@protonmail.com> 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 <krah@protonmail.com> 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 <fsu@FreeBSD.org> |
Do not panic if inode bitmap is corrupted.
admbug: 804 Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> 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 <ivansprundel@ioactive.com> Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19325
show more ...
|
#
80a4a971 |
| 04-Mar-2019 |
Fedor Uporov <fsu@FreeBSD.org> |
Validate block bitmaps.
Reviewed by: pfg MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19324
|
#
6e38bf94 |
| 04-Mar-2019 |
Fedor Uporov <fsu@FreeBSD.org> |
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 ...
|