Page MenuHomeFreeBSD
Feed Advanced Search

Jan 22 2024

pjd added reviewers for D43547: capsicum: SIGTRAP is delivered also on ECAPMODE error.: oshogbo, allanjude.
Jan 22 2024, 9:39 PM
pjd requested review of D43547: capsicum: SIGTRAP is delivered also on ECAPMODE error..
Jan 22 2024, 9:38 PM

Jan 21 2024

pjd added inline comments to D43488: kern: Implement lockless method for obtaining new PID..
Jan 21 2024, 9:16 PM

Jan 20 2024

pjd added reviewers for D43496: Don't hardcode maximum PID.: allanjude, oshogbo.
Jan 20 2024, 10:31 PM
pjd accepted D43529: Add kern_openatfp(9).
Jan 20 2024, 10:21 PM
pjd requested changes to D43529: Add kern_openatfp(9).

Thank you for working on this!

Jan 20 2024, 9:59 PM
pjd updated the diff for D43496: Don't hardcode maximum PID..

Remove compatibility code from libc.

Jan 20 2024, 7:11 AM

Jan 18 2024

pjd added a comment to D43488: kern: Implement lockless method for obtaining new PID..
In D43488#991394, @mjg wrote:

What's the motivation here? If you are running into scalability problems, it has to be allproc and proctree locks (amongst others).

Jan 18 2024, 4:20 PM
pjd added reviewers for D43496: Don't hardcode maximum PID.: kib, markj, mjg.
Jan 18 2024, 4:10 PM
pjd requested review of D43496: Don't hardcode maximum PID..
Jan 18 2024, 4:08 PM
pjd updated the summary of D43487: bitset(9): Implement BIT_ISSET_ATOMIC(), BIT_FFC() and BIT_FFC_AT()..
Jan 18 2024, 4:46 AM
pjd added reviewers for D43488: kern: Implement lockless method for obtaining new PID.: kib, markj, mjg.
Jan 18 2024, 4:46 AM
pjd added a comment to D43487: bitset(9): Implement BIT_ISSET_ATOMIC(), BIT_FFC() and BIT_FFC_AT()..

PoC, still missing bitset(9) manual page update. Part of: https://reviews.freebsd.org/D43488

Jan 18 2024, 4:37 AM
pjd requested review of D43488: kern: Implement lockless method for obtaining new PID..
Jan 18 2024, 4:35 AM
pjd requested review of D43487: bitset(9): Implement BIT_ISSET_ATOMIC(), BIT_FFC() and BIT_FFC_AT()..
Jan 18 2024, 4:35 AM

Jan 17 2024

pjd committed rG41ac0b4ce00b: Fix the build. (authored by pjd).
Fix the build.
Jan 17 2024, 7:00 PM
pjd committed rGf1d0a0cbecf2: jail: Fix information leak. (authored by pjd).
jail: Fix information leak.
Jan 17 2024, 5:50 PM

Dec 30 2023

pjd committed rG1b8d70b2eb71: kern: Introduce kern.pid_max_limit sysctl. (authored by pjd).
kern: Introduce kern.pid_max_limit sysctl.
Dec 30 2023, 6:20 AM
pjd closed D43077: Don't hardcode maximum PID..
Dec 30 2023, 6:20 AM

Dec 28 2023

pjd added inline comments to D43077: Don't hardcode maximum PID..
Dec 28 2023, 7:44 AM

Dec 26 2023

pjd added inline comments to D43077: Don't hardcode maximum PID..
Dec 26 2023, 12:15 AM

Dec 22 2023

pjd updated the diff for D43077: Don't hardcode maximum PID..

Introduce kern.pid_max_limit.

Dec 22 2023, 6:59 AM
pjd committed rGeb4d13126d85: seq(1): Put separator only between the elements. (authored by pjd).
seq(1): Put separator only between the elements.
Dec 22 2023, 5:56 AM
pjd closed D43094: seq(1): Put separator only between the elements..
Dec 22 2023, 5:56 AM

Dec 19 2023

pjd added reviewers for D43094: seq(1): Put separator only between the elements.: oshogbo, allanjude, emaste.
Dec 19 2023, 2:48 AM
pjd requested review of D43094: seq(1): Put separator only between the elements..
Dec 19 2023, 2:46 AM
pjd updated the diff for D43077: Don't hardcode maximum PID..

Remove MAX_PID check from pkill.

Dec 19 2023, 2:37 AM

Dec 18 2023

pjd added inline comments to D43077: Don't hardcode maximum PID..
Dec 18 2023, 10:16 PM
pjd added inline comments to D43077: Don't hardcode maximum PID..
Dec 18 2023, 9:41 PM

Dec 16 2023

pjd updated the summary of D43077: Don't hardcode maximum PID..
Dec 16 2023, 11:54 PM
pjd committed rG6f3e9bac4d46: vm: Plug umtx shm object leak. (authored by pjd).
vm: Plug umtx shm object leak.
Dec 16 2023, 1:19 PM
pjd closed D43073: vm: Plug umtx shm object leak..
Dec 16 2023, 1:19 PM
pjd added a comment to D43077: Don't hardcode maximum PID..
In D43077#982025, @kib wrote:

For NO_PID, also look at usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c and contrib/sendmail/src/sendmail.h (later is probably fine).

Dec 16 2023, 8:24 AM
pjd updated the diff for D43077: Don't hardcode maximum PID..

Add missing include.

Dec 16 2023, 7:48 AM
pjd updated the diff for D43077: Don't hardcode maximum PID..
  • Remove hardcoded PID_MAX from sched_{g,s}etaffinity().
  • Remove hardcoded NO_PID from bsnmpd.
Dec 16 2023, 7:41 AM
pjd added a comment to D43077: Don't hardcode maximum PID..
In D43077#982024, @kib wrote:

If you manually upload diffs, please generate them with something like git diff -U999999 <whatever> so that the full content is available.

Dec 16 2023, 7:18 AM
pjd updated the diff for D43077: Don't hardcode maximum PID..
Dec 16 2023, 5:36 AM
pjd retitled D43077: Don't hardcode maximum PID. from Don't use hardcoded PID_MAX value. to Don't hardcode maximum PID..
Dec 16 2023, 5:34 AM
pjd requested review of D43077: Don't hardcode maximum PID..
Dec 16 2023, 2:10 AM
pjd abandoned D43076: top(1): Use kern.pid_max instead of hardcoded value..
Dec 16 2023, 1:44 AM
pjd abandoned D43075: pkill(1): Use kern.pid_max instead of harcoded value..
Dec 16 2023, 1:44 AM
pjd abandoned D43074: Make PID_MAX visible from userspace..
Dec 16 2023, 1:44 AM
pjd requested review of D43076: top(1): Use kern.pid_max instead of hardcoded value..
Dec 16 2023, 1:43 AM
pjd requested review of D43075: pkill(1): Use kern.pid_max instead of harcoded value..
Dec 16 2023, 1:43 AM
pjd requested review of D43074: Make PID_MAX visible from userspace..
Dec 16 2023, 1:43 AM
pjd added reviewers for D43073: vm: Plug umtx shm object leak.: oshogbo, allanjude, kib.
Dec 16 2023, 12:37 AM
pjd requested review of D43073: vm: Plug umtx shm object leak..
Dec 16 2023, 12:35 AM

Jun 20 2023

pjd requested changes to D26484: /etc/rc: optionally turn on new 'rcorder -p' option to run rc scripts in parallel. .
Jun 20 2023, 10:53 PM

Apr 17 2023

pjd committed rG068913e4ba3d: zfs: Add vfs.zfs.bclone_enabled sysctl. (authored by pjd).
zfs: Add vfs.zfs.bclone_enabled sysctl.
Apr 17 2023, 10:40 AM
pjd closed D39613: zfs: Add vfs.zfs.bclone_enabled sysctl..
Apr 17 2023, 10:39 AM
pjd requested review of D39613: zfs: Add vfs.zfs.bclone_enabled sysctl..
Apr 17 2023, 9:53 AM
pjd committed rG1959e122d932: zfs: Merge https://github.com/openzfs/zfs/pull/14739 (authored by pjd).
zfs: Merge https://github.com/openzfs/zfs/pull/14739
Apr 17 2023, 9:26 AM
pjd committed rGe0bb19992556: zfs: cherry-pick openzfs/zfs@c71fe7164 (authored by pjd).
zfs: cherry-pick openzfs/zfs@c71fe7164
Apr 17 2023, 9:26 AM

Apr 5 2023

pjd added a comment to D39419: zfs: Call vn_generic_copy_file_range() if block_cloning disabled.

We shouldn't make the code more complex and less readable just to optimize for some rare edge cases. If someone disables block cloning, they are most likely not too concerned with performance and trying to avoid an extra vnode lock at the expense of code readability is, in my opinion, the wrong approach.

Apr 5 2023, 8:43 AM
pjd accepted D39418: zfs: Fix null ap->a_fsizetd NULL pointer derefernce.

Thank you for the fix!

Apr 5 2023, 7:05 AM

Mar 13 2023

pjd added a comment to D38814: Call VOP_COPY_FILE_RANGE() for the same file system type..
In D38814#884116, @mjg wrote:

I think this is a step backwards and it is not what I suggested.

For example now any fs which does not provide it's own primitive will take a trip through returning EOPNOTSUPP when it can be avoided.

I suggested everyone handling as much as they can and otherwise punting to vn_generic_copy_file_range or a differently named fallback with the same result.

To further illustrate the win in nullfs case, consider the following with 2 nullfs mount points:

  1. we land in null_copy_file_range or whatever
  2. both target vnodes get "unwrapped"
  3. the vop gets invoked in vnode1 with both as arguments and we are done here

With the proposed patch it will be instead:

  1. we land in null_copy_file_range or whatever
  2. both target vnodes get found + refed
  3. the vop returns EOPNOTSUPP
  4. the routine unrefs vnodes and returns
  5. ... now vn_generic_copy_file_range will keep calling VOP_READ and VOP_WRITE while looking up + refing (and unrefing) vnodes for each call
Mar 13 2023, 9:59 AM

Mar 1 2023

pjd added a comment to D38814: Call VOP_COPY_FILE_RANGE() for the same file system type..

LGTM. But is there any file system that you expect to support cross-mountpoint copy_file_range ?

Mar 1 2023, 11:32 AM

Feb 27 2023

pjd requested review of D38814: Call VOP_COPY_FILE_RANGE() for the same file system type..
Feb 27 2023, 10:13 PM
pjd added a comment to D38803: vfs: Allow VOP_COPY_FILE_RANGE() to work across mount points..
In D38803#883156, @mjg wrote:

My grep fails to find any existing custom routines, I'm guessing one for zfs will be showing up later. I think this also means there is no worry of any backwards-incompatible breakage.

Feb 27 2023, 9:44 PM
pjd requested review of D38803: vfs: Allow VOP_COPY_FILE_RANGE() to work across mount points..
Feb 27 2023, 2:44 AM

Feb 3 2023

pjd accepted D35767: hastd: use zlib's crc32 implementation..
Feb 3 2023, 1:04 AM
pjd committed rGc54d240eb1a0: kern_prot.c p_candebug(): Remove single-use variable. (authored by pjd).
kern_prot.c p_candebug(): Remove single-use variable.
Feb 3 2023, 1:01 AM
pjd committed rG14ba79255be8: nv.9: Improve style in one of the examples. (authored by pjd).
nv.9: Improve style in one of the examples.
Feb 3 2023, 1:01 AM
pjd closed D38288: Remove single-use variable..
Feb 3 2023, 1:01 AM
pjd closed D38287: Improve the style in one of the examples..
Feb 3 2023, 1:01 AM

Jan 31 2023

pjd updated the diff for D38288: Remove single-use variable..

Use larger context for the diff to include the entire function.

Jan 31 2023, 12:21 AM
pjd requested review of D38288: Remove single-use variable..
Jan 31 2023, 12:16 AM
pjd requested review of D38287: Improve the style in one of the examples..
Jan 31 2023, 12:11 AM

Dec 23 2022

pjd accepted D37779: GEOM: Remove redundant NULL pointer check before g_free().
Dec 23 2022, 12:10 AM

Dec 13 2020

pjd committed R9:7baaa54158b5: Hmm, it looks I'm committer now. Add myself to committers list. (authored by pjd).
Hmm, it looks I'm committer now. Add myself to committers list.
Dec 13 2020, 6:51 PM
pjd committed R9:b662b2d53858: Added my PGP key. (authored by pjd).
Added my PGP key.
Dec 13 2020, 6:51 PM
pjd committed R9:f60f8a88e444: Inform the world about this special day. (authored by pjd).
Inform the world about this special day.
Dec 13 2020, 6:51 PM
pjd committed R9:d4004db38ea5: Add my entity (should be done in first place...). (authored by pjd).
Add my entity (should be done in first place...).
Dec 13 2020, 6:51 PM
pjd committed R9:3ad146de3fec: Put my PGP key into handbook. (authored by pjd).
Put my PGP key into handbook.
Dec 13 2020, 6:51 PM
pjd committed R9:8c2df31736d0: Ok, I really need some SCSI HW to do real-life tests for my GEOM classes. (authored by pjd).
Ok, I really need some SCSI HW to do real-life tests for my GEOM classes.
Dec 13 2020, 6:44 PM
pjd committed R9:4f70913f8b9f: Daniel Seuffert is going to send me even better hardware. (authored by pjd).
Daniel Seuffert is going to send me even better hardware.
Dec 13 2020, 6:41 PM
pjd committed R9:b6b2d959a916: Force commit to note, that Daniel Seuffert was the one who send me this great HW (authored by pjd).
Force commit to note, that Daniel Seuffert was the one who send me this great HW
Dec 13 2020, 6:41 PM
pjd committed R9:238e6f1feac9: - Fix newfs(8) name (there is no newfs_ffs(8)). (authored by pjd).
- Fix newfs(8) name (there is no newfs_ffs(8)).
Dec 13 2020, 6:34 PM
pjd committed R9:98ea8dbbbc9a: - Rename 'pjd' to 'zooguest'. We should find an animal for this box. (authored by pjd).
- Rename 'pjd' to 'zooguest'. We should find an animal for this box.
Dec 13 2020, 6:06 PM
pjd committed R9:ad0b05182bf3: Rename 'zooguest' to 'camel':) (authored by pjd).
Rename 'zooguest' to 'camel':)
Dec 13 2020, 6:06 PM

Sep 29 2020

pjd added inline comments to D26546: bspatch: enter capability mode after dropping fd rights.
Sep 29 2020, 9:48 AM

Jun 18 2020

pjd accepted D25312: Relax the rule against declaring variables in nested scopes..
Jun 18 2020, 9:18 AM

Apr 25 2020

pjd committed rS360325: Avoid the GEOM topology lock recursion when we automatically expand a pool..
Avoid the GEOM topology lock recursion when we automatically expand a pool.
Apr 25 2020, 9:45 PM
pjd committed rS360323: Add g_topology_locked() macro that returns true if we already hold the GEOM.
Add g_topology_locked() macro that returns true if we already hold the GEOM
Apr 25 2020, 9:41 PM

Feb 1 2020

pjd committed rS357363: The error variable is not really needed. Remove it..
The error variable is not really needed. Remove it.
Feb 1 2020, 10:15 AM
pjd committed rS357362: Restore previous usage presentation (without "pwait: " prefix)..
Restore previous usage presentation (without "pwait: " prefix).
Feb 1 2020, 9:13 AM

Jan 26 2020

pjd committed rS357143: Style changes, mostly usage of braces around single line statements -.
Style changes, mostly usage of braces around single line statements -
Jan 26 2020, 11:13 AM
pjd committed rS357142: Implement tests for the newly added -o flag..
Implement tests for the newly added -o flag.
Jan 26 2020, 11:03 AM
pjd committed rS357141: Implement -o flag which tells pwait(1) to exit if any of the given processes.
Implement -o flag which tells pwait(1) to exit if any of the given processes
Jan 26 2020, 11:03 AM
pjd committed rS357140: Don't setup a timeout if we are exiting..
Don't setup a timeout if we are exiting.
Jan 26 2020, 10:54 AM
pjd committed rS357139: Check for duplicated PID without using additional variable..
Check for duplicated PID without using additional variable.
Jan 26 2020, 10:52 AM
pjd committed rS357138: - Be consistent with using sysexits(3) codes..
- Be consistent with using sysexits(3) codes.
Jan 26 2020, 10:49 AM

Jan 22 2020

pjd committed rS356962: MFC r342873:.
MFC r342873:
Jan 22 2020, 1:10 AM

Nov 19 2019

pjd added inline comments to D22306: zfs: add option for forcible unmounting dataset while receiving snapshot..
Nov 19 2019, 6:55 AM

Oct 12 2019

pjd updated the diff for D21807: VirtIO SCSI online disk resize.

After discussion with mav@, add ASCQs for PARAMETERS CHANGED and MODE PARAMETERS CHANGED, similar to Linux and Windows. Also add a comment describing those values.

Oct 12 2019, 7:16 AM

Oct 7 2019

pjd added a comment to D21807: VirtIO SCSI online disk resize.
In D21807#476635, @mav wrote:
In D21807#476430, @pjd wrote:

I see. Though they both handle 3 statuses, not just one.

Oct 7 2019, 6:01 PM

Sep 27 2019

pjd added a comment to D21807: VirtIO SCSI online disk resize.
In D21807#476253, @mav wrote:
In D21807#476160, @pjd wrote:

What do you mean by 'too strict parsing of ASC/ASCQ'?

I mean that considering the codes are passed and they are called ASC/ASCQ in specification, there potentially may be other ones too, for which CAM may have own more specific handling ideas, and I believe it is not a SIM driver duty to handle details of SCSI protocol. I don't object your implementation, just thinking out loud whether it could it be done better/otherwise.

Sep 27 2019, 6:27 PM
pjd added a comment to D21807: VirtIO SCSI online disk resize.
In D21807#476017, @mav wrote:

This virtio API looks ugly. They conform themselves that device should also report normal UNIT ATTENTION with the same status, which is already handled by CAM DA driver. If we assume that device does generate UNIT ATTENTION, then we should be able to make cam send TUR request to see it by using AC_SCSI_AEN async. Alternatively, it is possible to simulate UNIT ATTENTION receive by using AC_UNIT_ATTENTION with fake CCB, including ASC/ASCQ received from virtio API. Your method should also work, but what I don\t very like it too strict parsing ASC/ASCQ and sending not exactly correct async.

Sep 27 2019, 5:39 AM

Sep 26 2019

pjd created D21807: VirtIO SCSI online disk resize.
Sep 26 2019, 7:23 PM

Apr 9 2019

pjd added a comment to D19854: Fix geli device cleanup.
In D19854#426191, @ngie wrote:
In D19854#426189, @pjd wrote:

Do you mind elaborating why cleaning up like that is wrong? The reason I did it was to avoid creating multiple md devices. Here we only have 8 iterations of the loop, but I could easly imagine tests were I'd have hundreds and cleaning as I go would be a good thing then, IMHO. But maybe I'm missing something obvious here, so if you could explain that would be great. Thanks.

PS. The patch is fine.

Long story short is that it was doubling up the cleanup process.

It would allocate the device in body function, clean it up in the body function, then try to clean up the same device in the cleanup function, failing because it didn't exist in a state that could be deallocated/detached.

Apr 9 2019, 7:20 AM