- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sat, Jun 15
Dec 31 2023
Dec 3 2023
Sep 20 2023
Aug 31 2023
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 7 2023
Jul 24 2023
I see @dchagin committed something closely related to current!
Jul 4 2023
May 18 2023
Minimal changes, otherwise LGTM.
Apr 2 2023
Mar 12 2023
Mar 11 2023
LGTM, and pretty clever to take a boolean to panic.
Feb 25 2023
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 18 2023
Feb 11 2023
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.
While I agree with the sentiment that panicing is a rather extreme measure, it is better to keep consistency between UFS and ext2.
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 2 2023
Dec 17 2022
Dec 3 2022
Oct 26 2022
Oct 13 2022
Jul 11 2022
In D35771#811866, @yikong_google.com wrote:Can you please commit this for me? Thanks.
May 12 2022
- LGTM
Apr 4 2022
LGTM
Mar 5 2022
Feb 28 2022
Feb 21 2022
Feb 20 2022
Feb 2 2022
Jan 1 2022
LGTM, especially since we were not handling the case.
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.
Dec 15 2021
I appreciate this effort going on. Getting good implementations of these functions is tough.,
Dec 11 2021
Dec 6 2021
Nov 29 2021
Nov 28 2021
I will admit I don't like this. Does linux do the same?
Oct 22 2021
Oct 6 2021
Sep 25 2021
Interesting ... I don't see the old protocol described upstream
Aug 24 2021
Aug 2 2021
In D31383#707337, @arichardson wrote: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?
Please also take a look at NetBSD's change 1.23, "Avoid undefined behavior in fread(3)".
Jul 22 2021
Jun 25 2021
Jun 19 2021
Jun 16 2021
Jun 15 2021
Jun 1 2021
May 31 2021
Remove deprecated unlocking, pointed out by kib
May 30 2021
Duh ! I see now.
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.
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.