Page MenuHomeFreeBSD
Feed Advanced Search

Dec 31 2023

pfg committed R11:b5e9c3185a25: math/reduce-psl: update to version 2023-12-18 (authored by pfg).
math/reduce-psl: update to version 2023-12-18
Dec 31 2023, 3:27 PM

Dec 3 2023

pfg committed rG7e8afbb6d605: patch: fix locate_hunk in empty files (authored by pfg).
patch: fix locate_hunk in empty files
Dec 3 2023, 5:35 PM

Sep 20 2023

pfg accepted D41925: fusefs: fix some bugs updating atime during close.
Sep 20 2023, 10:52 PM

Aug 31 2023

pfg accepted D41663: ext2fs: Migrate to modern uintXX_t from u_intXX_t.

Thank you for doing this! When moving from the linux headers we moved from the linux types to the standard C types but some leftover BSD types were still being used. These changes actually fix some hidden bugs.

Aug 31 2023, 4:01 PM

Aug 7 2023

pfg committed rG9610cbc09e72: patch: don't run off the end of path if it ends in '/'. (authored by pfg).
patch: don't run off the end of path if it ends in '/'.
Aug 7 2023, 3:50 AM

Jul 24 2023

pfg added a reviewer for D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future : dchagin.

I see @dchagin committed something closely related to current!

Jul 24 2023, 6:18 PM

Jul 4 2023

pfg committed rG4ef3964b5f85: bin/date: Upgrade calculations (take 2) (authored by pfg).
bin/date: Upgrade calculations (take 2)
Jul 4 2023, 4:40 AM
pfg committed rG4456846a1a0d: bin/date: Upgrade calculations (authored by pfg).
bin/date: Upgrade calculations
Jul 4 2023, 3:09 AM

May 18 2023

pfg accepted D40047: ext2fs: Add large sectorsize disks support.

Minimal changes, otherwise LGTM.

May 18 2023, 6:52 PM

Apr 2 2023

pfg committed R11:1470183f134b: math/reduce-psl: update to version 2023-03-08 (authored by pfg).
math/reduce-psl: update to version 2023-03-08
Apr 2 2023, 7:45 PM

Mar 12 2023

pfg accepted D38503: Do not panic in case of corrupted directory.
Mar 12 2023, 6:13 PM

Mar 11 2023

pfg accepted D38503: Do not panic in case of corrupted directory.

LGTM, and pretty clever to take a boolean to panic.

Mar 11 2023, 3:20 AM

Feb 25 2023

pfg accepted D38503: Do not panic in case of corrupted directory.

Thanks!
The printf vs dtrace call choice is not easy but yes as long as the filesystem is still in usable condition I think we should prefer the dtrace call.
You may want to send a diff to @mckusick syncing the UFS change. FWIW, I think UFS should also embrace DTrace ;).

Feb 25 2023, 1:52 PM

Feb 18 2023

pfg accepted D38502: Add root directory entry check..

LGTM

Feb 18 2023, 7:02 PM

Feb 11 2023

pfg added a comment to D38502: Add root directory entry check..

I think this is the first time I have seen a char string return value. Can we keep the same coding style as in ext2_check_direntry() ?
That is .. assigning error_msg within the function instead of returning it.

Feb 11 2023, 7:52 PM
pfg added a comment to D38503: Do not panic in case of corrupted directory.

While I agree with the sentiment that panicing is a rather extreme measure, it is better to keep consistency between UFS and ext2.

Feb 11 2023, 7:45 PM
pfg requested changes to D38503: Do not panic in case of corrupted directory.

Hmm.. we should keep consistency with UFS .. and that means panic in ext2_dirbad(). My guess is that for this case you shouldn' t call ext2_dirbad().

Feb 11 2023, 7:30 PM
pfg accepted D38503: Do not panic in case of corrupted directory.

LGTM

Feb 11 2023, 7:17 PM

Feb 2 2023

pfg committed R11:8d60e0ce5e0d: cad/brlcad: update to version 7.32.6 (authored by pfg).
cad/brlcad: update to version 7.32.6
Feb 2 2023, 2:37 AM

Dec 17 2022

pfg committed rG38389acc59fc: ext2fs: fix potential memory leak in ext4_ext_grow_indepth() (authored by pfg).
ext2fs: fix potential memory leak in ext4_ext_grow_indepth()
Dec 17 2022, 6:21 PM

Dec 3 2022

pfg committed R11:5633b4b358a4: lang/bsh: update BeanShell to version 2.1.1 (authored by pfg).
lang/bsh: update BeanShell to version 2.1.1
Dec 3 2022, 7:30 PM

Oct 26 2022

pfg committed R11:af1b3621abfa: math/reduce-psl: update to version 20220617 (authored by pfg).
math/reduce-psl: update to version 20220617
Oct 26 2022, 2:26 AM

Oct 13 2022

pfg committed rGc59871e92293: vinum/geom_vinum_var.h: Fix missing linefeed in license. (authored by pfg).
vinum/geom_vinum_var.h: Fix missing linefeed in license.
Oct 13 2022, 3:47 AM

Jul 11 2022

pfg added a comment to D35771: Rewrite function definitions with identifier lists.

Can you please commit this for me? Thanks.

Jul 11 2022, 7:43 PM
pfg accepted D35771: Rewrite function definitions with identifier lists.
Jul 11 2022, 7:13 PM

May 12 2022

pfg accepted D35128: fusefs: handle evil servers that return illegal inode numbers.
  • LGTM
May 12 2022, 12:38 AM

Apr 4 2022

pfg accepted D34753: fusefs: fix two bugs regarding VOP_RECLAIM of the root inode.

LGTM

Apr 4 2022, 3:29 AM

Mar 5 2022

pfg committed rG455e0b9ba5dd: /etc/hosts: Wording changes to better match RFC 1918 (authored by pfg).
/etc/hosts: Wording changes to better match RFC 1918
Mar 5 2022, 9:00 PM
pfg closed D34391: /etc/hosts: Wording changes to better match RFC 1918.
Mar 5 2022, 9:00 PM

Feb 28 2022

pfg requested review of D34391: /etc/hosts: Wording changes to better match RFC 1918.
Feb 28 2022, 4:07 AM

Feb 21 2022

pfg committed R11:da6f6487a808: Reset maintainer for my R-cran ports (authored by pfg).
Reset maintainer for my R-cran ports
Feb 21 2022, 3:07 AM
pfg committed R11:0c3cef9aef8f: math/R-cran-FrF2 update to version 2.2-2 (authored by pfg).
math/R-cran-FrF2 update to version 2.2-2
Feb 21 2022, 3:07 AM
pfg committed R11:96aede904ba8: math/R-cran-DoE.base update to verson 1.2 (authored by pfg).
math/R-cran-DoE.base update to verson 1.2
Feb 21 2022, 3:07 AM

Feb 20 2022

pfg committed R11:b8d7249f6d80: math/viennacl: back to the pool. (authored by pfg).
math/viennacl: back to the pool.
Feb 20 2022, 8:56 PM
pfg committed R11:6fbabf03f849: math/reduce{-psl}: Update to 20211019 snapshot (authored by pfg).
math/reduce{-psl}: Update to 20211019 snapshot
Feb 20 2022, 8:56 PM
pfg committed R11:90344f18b788: cad/calculix{-ccx}: new maintainer. (authored by pfg).
cad/calculix{-ccx}: new maintainer.
Feb 20 2022, 6:54 PM

Feb 2 2022

pfg committed R11:5cf3fd43c618: cad/calculix{-ccx}: Update to version 2.19 (authored by pfg).
cad/calculix{-ccx}: Update to version 2.19
Feb 2 2022, 2:08 AM

Jan 1 2022

pfg accepted D33389: fusefs: implement VOP_ALLOCATE.

LGTM, especially since we were not handling the case.

Jan 1 2022, 12:41 AM
pfg accepted D33239: fusefs: fix .. lookups when the parent has been reclaimed..

We should probably use PR ## instead of URLs in comments but there is no project policy on that.
LGTM, except for the minor comment issue.

Jan 1 2022, 12:37 AM
pfg accepted D33159: fusefs: copy_file_range must update file timestamps.

LGTM

Jan 1 2022, 12:29 AM
pfg accepted D33158: Fix a race in fusefs that can corrupt a file's size..
Jan 1 2022, 12:14 AM

Dec 15 2021

pfg accepted D33444: Improve accuracy and range of tgamma*(3).

I appreciate this effort going on. Getting good implementations of these functions is tough.,

Dec 15 2021, 1:48 AM

Dec 11 2021

pfg accepted D33375: Improve extents verification logic.
Dec 11 2021, 12:37 AM
pfg accepted D33374: Add more accurate directory entries check.

LGTM

Dec 11 2021, 12:04 AM

Dec 6 2021

pfg accepted D33280: fusefs: invalidate the cache during copy_file_range.
Dec 6 2021, 4:19 PM
pfg accepted D33283: fusefs: correctly handle an inode that changes file types.
Dec 6 2021, 3:56 PM

Nov 29 2021

pfg accepted D33151: fusefs: fix copy_file_range when extending a file.

LGTM

Nov 29 2021, 12:26 AM
pfg accepted D33145: fusefs: update atime on reads when using cached attributes.
Nov 29 2021, 12:24 AM

Nov 28 2021

pfg added a comment to D33145: fusefs: update atime on reads when using cached attributes.

I will admit I don't like this. Does linux do the same?

Nov 28 2021, 4:36 PM

Oct 22 2021

pfg committed R11:ada48bb23728: cad/calculix{-ccx}: Update to version 2.18 (authored by pfg).
cad/calculix{-ccx}: Update to version 2.18
Oct 22 2021, 4:45 AM

Oct 6 2021

pfg accepted D32332: fusefs: Fix a bug during VOP_STRATEGY when the server changes file size.
Oct 6 2021, 4:24 AM

Sep 25 2021

pfg accepted D32141: fusefs: implement FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT.

Interesting ... I don't see the old protocol described upstream

Sep 25 2021, 9:25 PM

Aug 24 2021

pfg committed R11:b076d791c1ae: sysutils/fusefs-xfuse: workaround re-rolled release tag. (authored by pfg).
sysutils/fusefs-xfuse: workaround re-rolled release tag.
Aug 24 2021, 3:44 PM
pfg committed R11:122ebd040ecf: sysutils/fusefs-xfuse: Read-only FUSE server implementing XFS (authored by pfg).
sysutils/fusefs-xfuse: Read-only FUSE server implementing XFS
Aug 24 2021, 1:57 PM

Aug 2 2021

pfg committed R11:0042759b3b67: textproc/apache-commons-csv: update to version 1.9.0 (authored by pfg).
textproc/apache-commons-csv: update to version 1.9.0
Aug 2 2021, 3:44 PM
pfg added a comment to D31383: Fix undefined pointer arithmetic in fread().
In D31383#707328, @pfg wrote:

Good.

Please also take a look at NetBSD's change 1.23, "Avoid undefined behavior in fread(3)".

Ah nice, that avoids the branch inside the loop. Should I apply the NetBSD change instead?

Aug 2 2021, 3:10 PM
pfg accepted D31383: Fix undefined pointer arithmetic in fread().

Please also take a look at NetBSD's change 1.23, "Avoid undefined behavior in fread(3)".

Aug 2 2021, 3:02 PM

Jul 22 2021

pfg committed rGc384a27805a6: patch: cleanup variable initialization a bit. (authored by pfg).
patch: cleanup variable initialization a bit.
Jul 22 2021, 7:24 PM

Jun 25 2021

pfg accepted D30892: usr.bin/login: send errors to console if syslog isn't running.
Jun 25 2021, 3:54 PM
pfg accepted D30622: fusefs: correctly set lock owner during FUSE_SETLK.
Jun 25 2021, 2:48 AM

Jun 19 2021

pfg accepted D30810: fusefs: ensure that FUSE ops' headers' unique values are actually unique.
Jun 19 2021, 8:38 PM

Jun 16 2021

pfg accepted D30780: fusefs: improve warnings about buggy FUSE servers.
Jun 16 2021, 6:01 PM
pfg accepted D30784: fusefs: support EVFILT_WRITE on /dev/fuse.
Jun 16 2021, 6:01 PM

Jun 15 2021

pfg committed rG62d555c4e828: fread: improve performance for unbuffered reads (authored by pfg).
fread: improve performance for unbuffered reads
Jun 15 2021, 9:27 PM

Jun 1 2021

pfg committed rGa45843c8ed7f: fread: improve performance for unbuffered reads (authored by pfg).
fread: improve performance for unbuffered reads
Jun 1 2021, 9:02 PM
pfg closed D30548: fread: improve performance for unbuffered reads.
Jun 1 2021, 9:02 PM

May 31 2021

pfg updated the diff for D30548: fread: improve performance for unbuffered reads.

Remove deprecated unlocking, pointed out by kib

May 31 2021, 1:51 AM

May 30 2021

pfg reclaimed D30548: fread: improve performance for unbuffered reads.

Duh ! I see now.

May 30 2021, 11:59 PM
pfg added inline comments to D30548: fread: improve performance for unbuffered reads.
May 30 2021, 9:36 PM
pfg added a comment to D30548: fread: improve performance for unbuffered reads.
In D30548#686179, @kib wrote:
In D30548#686034, @pfg wrote:
In D30548#686024, @kib wrote:

In principle, the optimization is perhaps useful for unbuffered consumers.

The locking in your patch is incompatible with the FreeBSD implementation. Test the patch in multithreaded program.

Bah .. you are right, I am quite rusty on FreeBSD and I just copy-pasted. This shouldn't have compiled.

It should compile fine, but it cannot work.

What you need to do is to remove the wrong unlock line.

May 30 2021, 9:33 PM
pfg abandoned D30548: fread: improve performance for unbuffered reads.
In D30548#686024, @kib wrote:

In principle, the optimization is perhaps useful for unbuffered consumers.

The locking in your patch is incompatible with the FreeBSD implementation. Test the patch in multithreaded program.

May 30 2021, 3:34 AM

May 29 2021

pfg requested review of D30548: fread: improve performance for unbuffered reads.
May 29 2021, 9:46 PM
pfg committed R11:03cd6812ff6c: math/reduce{-psl}: Update to version 2021-04-13 (authored by pfg).
math/reduce{-psl}: Update to version 2021-04-13
May 29 2021, 1:42 AM

Apr 25 2021

pfg added a comment to D29917: BeFS support for fstyp command.

Thank you. I will go for the name BeFS because I noticed other things using this name

Yes please. BFS is way too generic and we had experienced name clashes in the past because they were too short. Even better if it could be done consistently, i.e. applied to macros like BFS_OS_NAME_LENGTH and BFS_SUPER_BLOCK_MAGIC1.

Apr 25 2021, 3:40 PM

Apr 24 2021

pfg added inline comments to D29917: BeFS support for fstyp command.
Apr 24 2021, 6:49 AM
pfg added a comment to D29917: BeFS support for fstyp command.

We don't have the naming conflict here, but befs is OK.
FWIW, there is a fuse version which would be useful before considering a kernel version.

Apr 24 2021, 6:39 AM

Apr 23 2021

pfg accepted D29933: Fix inode extra time fields overflow..

While the ext_time_t approach is valid and it also consistent with UFS2, it is usually faster to use 32bit values so you *could* use casts. Either way is valid so I won't object.

Apr 23 2021, 4:23 PM
pfg accepted D29930: Add chr/blk devices support..
Apr 23 2021, 4:07 PM
pfg accepted D29932: Improve extents verification logic..
Apr 23 2021, 4:06 PM
pfg accepted D29929: Fix inode birthtime updating..
Apr 23 2021, 4:04 PM
pfg accepted D29917: BeFS support for fstyp command.

LGTM, but ultimately cem@ is the local expert.

Apr 23 2021, 3:03 AM

Apr 22 2021

pfg requested changes to D29932: Improve extents verification logic..

Using all uppercase messages is bad, unless there is a panic.
Otherwise, LGTM.

Apr 22 2021, 9:04 PM
pfg accepted D29930: Add chr/blk devices support..

LGTM

Apr 22 2021, 8:54 PM
pfg requested changes to D29933: Fix inode extra time fields overflow..

Do not touch inode.h.

Apr 22 2021, 8:49 PM
pfg accepted D29931: Invalidate inode extents cache on truncation..
Apr 22 2021, 8:08 PM
pfg accepted D29929: Fix inode birthtime updating..

Minor knits, otherwise LGTM.

Apr 22 2021, 8:05 PM
pfg added inline comments to D29917: BeFS support for fstyp command.
Apr 22 2021, 7:18 PM
pfg added a comment to D29917: BeFS support for fstyp command.

FWIW, I'd like to see OpenBFS (haiku OS) supported some day on FreeBSD, so this support is welcome.

Apr 22 2021, 7:01 PM

Apr 3 2021

pfg added a comment to D29529: x86: remove gcov kernel support//config(8): remove support for -p.

FWIW ....
I read gcov, but sys/gnu/gcov survived. Perhaps it was meant to be gprof?

Apr 3 2021, 10:02 PM
pfg accepted D29566: lpd: Add -F flag to prevent daemonizing.

LGTM, but gad is the expert.

Apr 3 2021, 6:12 PM

Mar 17 2021

pfg added a comment to D29226: SPDX: Add canonical licenses for indirect SPDX references in the tree.

FWIW, I got the BSD-1-Clause License approved by OSI, Approval is not terribly important as we only use it for a couple of files in the tree.
OTOH the very simplistic license would be useful to adopt for source header files (*.h).

Mar 17 2021, 4:54 AM

Feb 20 2021

pfg committed rP566139: math/reduce: Mark broken on i386.
math/reduce: Mark broken on i386
Feb 20 2021, 4:11 AM

Jan 1 2021

pfg closed D27691: add couchdb & amqps to /etc/services.
Jan 1 2021, 1:50 AM
pfg committed rG978b10d8ef0f: services: reinstate CouchDB and bring amqps (authored by pfg).
services: reinstate CouchDB and bring amqps
Jan 1 2021, 1:50 AM
pfg committed rG302c387cd604: services: fiz bug introduced in r361898 (authored by pfg).
services: fiz bug introduced in r361898
Jan 1 2021, 12:40 AM

Dec 24 2020

pfg committed rP559189: lang/bsh: use Java 8.
lang/bsh: use Java 8
Dec 24 2020, 8:51 PM
pfg committed rP559045: lang/bsh: update to version 2.1.0.
lang/bsh: update to version 2.1.0
Dec 24 2020, 4:08 AM

Dec 22 2020

pfg accepted D27691: add couchdb & amqps to /etc/services.
Dec 22 2020, 9:12 PM

Dec 21 2020

pfg added inline comments to D27691: add couchdb & amqps to /etc/services.
Dec 21 2020, 5:16 PM

Dec 20 2020

pfg accepted D27691: add couchdb & amqps to /etc/services.

Wow, I should have dropped it by accident: it was surely my intention to keep couchdb in services.

Dec 20 2020, 11:27 PM