Revision tags: release/14.0.0 |
|
#
2a63c3be |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
Revision tags: release/13.2.0 |
|
#
bc33c992 |
| 13-Mar-2023 |
Ed Maste <emaste@FreeBSD.org> |
makefs: do not call brelse if bread returns an error
If bread returns an error there is no bp to brelse. One of these changes was taken from NetBSD commit 0a62dad69f62 ("This works well enough to p
makefs: do not call brelse if bread returns an error
If bread returns an error there is no bp to brelse. One of these changes was taken from NetBSD commit 0a62dad69f62 ("This works well enough to populate..."), the rest were found by looking for the same pattern.
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39069
show more ...
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
ae7e8a02 |
| 01-Aug-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
msdosfs deget(): add locking flags argument
LK_EXCLUSIVE must be passed always, some consumers need the ability to specify LK_NOWAIT
Reviewed by: mckusick Tested by: pho Sponsored by: The FreeBSD F
msdosfs deget(): add locking flags argument
LK_EXCLUSIVE must be passed always, some consumers need the ability to specify LK_NOWAIT
Reviewed by: mckusick Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D31464
show more ...
|
Revision tags: release/13.0.0 |
|
#
ba2cfa80 |
| 22-Feb-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix makefs bootstrap after d485c77f203fb0f4cdc08dea5ff81631b51d8809
The makefs msdosfs code includes fs/msdosfs/denode.h which directly uses struct buf from <sys/buf.h> rather than the makefs struct
Fix makefs bootstrap after d485c77f203fb0f4cdc08dea5ff81631b51d8809
The makefs msdosfs code includes fs/msdosfs/denode.h which directly uses struct buf from <sys/buf.h> rather than the makefs struct m_buf. To work around this problem provide a local denode.h that includes ffs/buf.h and defines buf as an alias for m_buf.
Reviewed By: kib, emaste Differential Revision: https://reviews.freebsd.org/D28835
show more ...
|
#
d485c77f |
| 18-Feb-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Remove #define _KERNEL hacks from libprocstat
Make sys/buf.h, sys/pipe.h, sys/fs/devfs/devfs*.h headers usable in userspace, assuming that the consumer has an idea what it is for. Unhide more materi
Remove #define _KERNEL hacks from libprocstat
Make sys/buf.h, sys/pipe.h, sys/fs/devfs/devfs*.h headers usable in userspace, assuming that the consumer has an idea what it is for. Unhide more material from sys/mount.h and sys/ufs/ufs/inode.h, sys/ufs/ufs/ufsmount.h for consumption of userspace tools, with the same caveat.
Remove unacceptable hack from usr.sbin/makefs which relied on sys/buf.h being unusable in userspace, where it override struct buf with its own definition. Instead, provide struct m_buf and struct m_vnode and adapt code to use local variants.
Reviewed by: mckusick Tested by: pho Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D28679
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
61c1328e |
| 13-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352105 through r352307.
|
#
aaa38524 |
| 11-Sep-2019 |
Conrad Meyer <cem@FreeBSD.org> |
buf: Add B_INVALONERR flag to discard data
Setting the B_INVALONERR flag before a synchronous write causes the buf cache to forcibly invalidate contents if the write fails (BIO_ERROR).
This is inte
buf: Add B_INVALONERR flag to discard data
Setting the B_INVALONERR flag before a synchronous write causes the buf cache to forcibly invalidate contents if the write fails (BIO_ERROR).
This is intended to be used to allow layers above the buffer cache to make more informed decisions about when discarding dirty buffers without successful write is acceptable.
As a proof of concept, use in msdosfs to handle failures to mark the on-disk 'dirty' bit during rw mount or ro->rw update.
Extending this to other filesystems is left as future work.
PR: 210316 Reviewed by: kib (with objections) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21539
show more ...
|
#
c5c3ba6b |
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351317 through r351731.
|
#
840aca28 |
| 01-Sep-2019 |
Ed Maste <emaste@FreeBSD.org> |
makefs: share msdosfsmount.h between kernel msdosfs and makefs
Sponsored by: The FreeBSD Foundation
|
#
2037e988 |
| 22-Aug-2019 |
Ed Maste <emaste@FreeBSD.org> |
makefs: diff reduction to sys/fs/msdosfs
No functional change.
|
#
476b0ab7 |
| 21-Aug-2019 |
Ed Maste <emaste@FreeBSD.org> |
makefs: share denode.h between kernel msdosfs and makefs
There is no need to duplicate this file when it can be trivially shared (just exposing sections previously under #ifdef _KERNEL).
MFC with:
makefs: share denode.h between kernel msdosfs and makefs
There is no need to duplicate this file when it can be trivially shared (just exposing sections previously under #ifdef _KERNEL).
MFC with: r351273 Differential Revision: The FreeBSD Foundation
show more ...
|
#
51e79aff |
| 21-Aug-2019 |
Ed Maste <emaste@FreeBSD.org> |
makefs: share fat.h between kernel msdosfs and makefs
There is no reason to duplicate this file when it can be trivially shared (just exposing one section previously under #ifdef _KERNEL).
Reviewed
makefs: share fat.h between kernel msdosfs and makefs
There is no reason to duplicate this file when it can be trivially shared (just exposing one section previously under #ifdef _KERNEL).
Reviewed by: imp, cem MFC with: r351273 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21346
show more ...
|
#
98dc8da5 |
| 20-Aug-2019 |
Ed Maste <emaste@FreeBSD.org> |
makefs: add msdosfs (FAT) support
Add FAT support to makefs by copying some files from sys/fs/msdosfs/ and updating others with changes from NetBSD.
The six files copied from sys/fs/msdosfs at r348
makefs: add msdosfs (FAT) support
Add FAT support to makefs by copying some files from sys/fs/msdosfs/ and updating others with changes from NetBSD.
The six files copied from sys/fs/msdosfs at r348251 and modified are: denode.h direntry.h fat.h msdosfs_fat.c msdosfs_lookup.c msdosfsmount.h
I would prefer to avoid the duplication, but reluctance to doing so was expressed in a previous review (D11197); for now copy the files and revisit in the future.
Submitted by: Siva Mahadevan Discussed with: cem, imp MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D16438
show more ...
|