Thank you for working on this!
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 22 2024
Jan 21 2024
Jan 20 2024
Remove compatibility code from libc.
Jan 18 2024
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).
PoC, still missing bitset(9) manual page update. Part of: https://reviews.freebsd.org/D43488
Jan 17 2024
Dec 30 2023
Dec 28 2023
Dec 26 2023
Dec 22 2023
Introduce kern.pid_max_limit.
Dec 19 2023
Remove MAX_PID check from pkill.
Dec 18 2023
Dec 16 2023
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).
Add missing include.
- Remove hardcoded PID_MAX from sched_{g,s}etaffinity().
- Remove hardcoded NO_PID from bsnmpd.
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.
Jun 20 2023
Apr 17 2023
Apr 5 2023
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.
Thank you for the fix!
Mar 13 2023
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:
- we land in null_copy_file_range or whatever
- both target vnodes get "unwrapped"
- the vop gets invoked in vnode1 with both as arguments and we are done here
With the proposed patch it will be instead:
- we land in null_copy_file_range or whatever
- both target vnodes get found + refed
- the vop returns EOPNOTSUPP
- the routine unrefs vnodes and returns
- ... 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 1 2023
In D38814#883415, @asomers wrote:LGTM. But is there any file system that you expect to support cross-mountpoint copy_file_range ?
Feb 27 2023
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 3 2023
Jan 31 2023
Use larger context for the diff to include the entire function.
Dec 23 2022
Dec 13 2020
Sep 29 2020
Jun 18 2020
Apr 25 2020
Feb 1 2020
Jan 26 2020
Jan 22 2020
Nov 19 2019
Oct 12 2019
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 7 2019
In D21807#476635, @mav wrote:In D21807#476430, @pjd wrote:I see what you mean. Others implement this the same way:
Linux: https://github.com/torvalds/linux/blob/master/drivers/scsi/virtio_scsi.c#L304
Windows: https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/vioscsi/vioscsi.c#L1621I see. Though they both handle 3 statuses, not just one.
Sep 27 2019
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.
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 26 2019
Apr 9 2019
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.