Page MenuHomeFreeBSD
Feed Advanced Search

Jan 17 2024

asomers added inline comments to D43464: fusefs: prefer new/delete over malloc/free.
Jan 17 2024, 9:18 PM

Jan 16 2024

asomers added inline comments to D43464: fusefs: prefer new/delete over malloc/free.
Jan 16 2024, 2:54 AM

Jan 15 2024

asomers requested review of D43464: fusefs: prefer new/delete over malloc/free.
Jan 15 2024, 11:50 PM
asomers committed rGdaf26f9350cf: fusefs: more consistent operand ordering in io.cc (authored by asomers).
fusefs: more consistent operand ordering in io.cc
Jan 15 2024, 11:18 PM
asomers committed rG1c909c300b92: fusefs: fix an interaction between copy_file_range and mmap (authored by asomers).
fusefs: fix an interaction between copy_file_range and mmap
Jan 15 2024, 9:59 PM
asomers closed D43451: fusefs: fix an interaction between copy_file_range and mmap.
Jan 15 2024, 9:59 PM
asomers updated the diff for D43451: fusefs: fix an interaction between copy_file_range and mmap.
  • Use vnode_pager_clean_sync
Jan 15 2024, 8:41 PM

Jan 13 2024

asomers committed rG6b1c534927ad: Add a regression test for PR 276191. (authored by asomers).
Add a regression test for PR 276191.
Jan 13 2024, 10:48 PM
asomers closed D43446: Add a regression test for PR 276191..
Jan 13 2024, 10:48 PM
asomers requested review of D43451: fusefs: fix an interaction between copy_file_range and mmap.
Jan 13 2024, 10:43 PM
asomers added a comment to D43448: lio_listio(2): add LIO_FOFFSET flag to ignore aiocb aio_offset.
In D43448#990336, @kib wrote:
In D43448#990316, @kib wrote:

Will an operation with LIO_FOFFSET update the current file offset?

Yes.

What happens if two or more operations both specify LIO_FOFFSET? lio_listio does not specify the order in which the operations will be evaluated. Given that, this flag can't be used if two or more operations affect the same file. And IMHO lio_listio isn't very useful with such a restriction.

One of them would do the update first, and another one follows. It is up to caller to care.

I used lio_listio(2) to add the flag because it is extensible, unlike aio_read*(), and I do not want to add yet another syscall variant. I do think that typical use would be with nelem = 1.

Why would you use lio_listio with nelem == 1 ?

Because you can specify op with modifiers. This is impossible with current syscalls like aio_read(2).

Jan 13 2024, 9:37 PM
asomers added a comment to D43448: lio_listio(2): add LIO_FOFFSET flag to ignore aiocb aio_offset.
In D43448#990316, @kib wrote:

Will an operation with LIO_FOFFSET update the current file offset?

Yes.

What happens if two or more operations both specify LIO_FOFFSET? lio_listio does not specify the order in which the operations will be evaluated. Given that, this flag can't be used if two or more operations affect the same file. And IMHO lio_listio isn't very useful with such a restriction.

One of them would do the update first, and another one follows. It is up to caller to care.

I used lio_listio(2) to add the flag because it is extensible, unlike aio_read*(), and I do not want to add yet another syscall variant. I do think that typical use would be with nelem = 1.

Jan 13 2024, 8:54 PM
asomers added a comment to D43448: lio_listio(2): add LIO_FOFFSET flag to ignore aiocb aio_offset.

Will an operation with LIO_FOFFSET update the current file offset? What happens if two or more operations both specify LIO_FOFFSET? lio_listio does not specify the order in which the operations will be evaluated. Given that, this flag can't be used if two or more operations affect the same file. And IMHO lio_listio isn't very useful with such a restriction.

Jan 13 2024, 8:27 PM
asomers added inline comments to D43446: Add a regression test for PR 276191..
Jan 13 2024, 5:01 PM
asomers requested review of D43446: Add a regression test for PR 276191..
Jan 13 2024, 3:38 PM

Jan 11 2024

asomers committed rGd06a00963b7f: find: add SIGINFO handler (authored by meka_tilda.center).
find: add SIGINFO handler
Jan 11 2024, 11:39 PM
asomers closed D43380: find: add SIGINFO handler.
Jan 11 2024, 11:38 PM
asomers accepted D43380: find: add SIGINFO handler.
Jan 11 2024, 10:22 PM

Jan 9 2024

asomers added a reviewer for D43380: find: add SIGINFO handler: des.

It LGTM, but let's get some outside review, too. @des what do you think?

Jan 9 2024, 9:10 PM

Jan 8 2024

asomers added a comment to D43358: vnode_pager_generic_putpages(): correctly handle clean block at EOF.

Does this all happen sequentially, e.g., from a single thread? I'm a bit confused specifically by how we end up in putpages. Do you have a stack trace handy?

Jan 8 2024, 5:41 PM
asomers added a comment to D43358: vnode_pager_generic_putpages(): correctly handle clean block at EOF.

In the problematic scenario, we are writing pages starting at EOF. (How exactly does that happen?)

Jan 8 2024, 5:35 PM
asomers accepted D43358: vnode_pager_generic_putpages(): correctly handle clean block at EOF.

I don't grok this page cache stuff. But your patch works for me. BTW, fspacectl was a red herring. I can actually reproduce the panic with just a single mapwrite, as long as the size and offset are suitable.

Jan 8 2024, 3:57 PM
asomers added inline comments to D43356: Add vnode_pager_clean(9).
Jan 8 2024, 2:03 PM

Dec 31 2023

asomers accepted D43258: Fix copy_file_range(2) so that it does not truncate the output file erroneously.

This looks correct to me, but I haven't tested it in any way. I think it's a good candidate to add to pjdfstest.

Dec 31 2023, 5:53 PM

Dec 30 2023

asomers added a comment to D43250: nfsclient: handle page and buffer cache consistency().

This is the same as the 2nd patch you posted to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276002, right? That one does not fix the test case.

Dec 30 2023, 7:08 PM

Dec 28 2023

asomers committed rGf79b200b6aef: nfsstat: make -q work without -e/-E (authored by Lexi Winter <lexi@le-fay.org>).
nfsstat: make -q work without -e/-E
Dec 28 2023, 8:28 PM

Dec 27 2023

asomers committed R11:fefa21bc7fe2: sysutils/openzfs, sysutils/openzfs-kmod: update to ZFS 2.2.2 (authored by asomers).
sysutils/openzfs, sysutils/openzfs-kmod: update to ZFS 2.2.2
Dec 27 2023, 10:55 PM
asomers committed R11:21ef50a5d82d: net/nss_ldap: fix the build on both 13.2 and 14.0+ (authored by asomers).
net/nss_ldap: fix the build on both 13.2 and 14.0+
Dec 27 2023, 10:42 PM
asomers committed rG30ce26cacfd6: nfsstat: update option strings in docs (authored by Lexi Winter <lexi@le-fay.org>).
nfsstat: update option strings in docs
Dec 27 2023, 6:00 PM
asomers committed rG2391e536c01c: Fix multiple bugs with ctld's UCL parsing (authored by asomers).
Fix multiple bugs with ctld's UCL parsing
Dec 27 2023, 5:50 PM
asomers closed D43198: Fix multiple bugs with ctld's UCL parsing.
Dec 27 2023, 5:50 PM

Dec 26 2023

asomers added inline comments to D43198: Fix multiple bugs with ctld's UCL parsing.
Dec 26 2023, 7:39 PM
asomers requested review of D43198: Fix multiple bugs with ctld's UCL parsing.
Dec 26 2023, 7:08 PM
asomers abandoned D43197: Fix multiple bugs with ctld's UCL parsing.

Oops. I accidentally included way too many commits. I'll close this review and start over.

Dec 26 2023, 7:07 PM
asomers requested review of D43197: Fix multiple bugs with ctld's UCL parsing.
Dec 26 2023, 7:07 PM

Dec 25 2023

asomers accepted D43176: mps: Handle errors from copyout() in ioctl handlers.
Dec 25 2023, 6:19 PM
asomers accepted D43177: mpr: Handle errors from copyout() in ioctl handlers.
Dec 25 2023, 6:18 PM

Dec 22 2023

asomers committed R11:0a16af556dd1: net-mgmt/py-gstat_exporter: update to latest (authored by asomers).
net-mgmt/py-gstat_exporter: update to latest
Dec 22 2023, 3:17 PM

Dec 20 2023

asomers added a comment to D43130: ses: Add error checking for copyout() calls.

@markj All tests pass on my admittedly somewhat trailing edge hardware.

Dec 20 2023, 5:45 PM
asomers committed R11:12a4d6ea50d9: sysutils/ztop: upgrade to 0.2.3 (authored by asomers).
sysutils/ztop: upgrade to 0.2.3
Dec 20 2023, 3:45 PM
asomers committed R11:72cdec82a414: sysutils/gstat-rs: update to 0.1.5 (authored by asomers).
sysutils/gstat-rs: update to 0.1.5
Dec 20 2023, 3:44 PM
asomers added a comment to D43130: ses: Add error checking for copyout() calls.

LGTM. Do you need help testing it? I can test it for you, if you lack appropriate hardware.

Yes please!

Dec 20 2023, 1:31 AM
asomers accepted D43130: ses: Add error checking for copyout() calls.

LGTM. Do you need help testing it? I can test it for you, if you lack appropriate hardware.

Dec 20 2023, 1:22 AM

Dec 18 2023

asomers accepted D43087: renice: Clean up the tests a bit..
Dec 18 2023, 11:08 PM
asomers closed D42622: Remove _POSIX_PRIORITIZED_IO references from man pages.
Dec 18 2023, 3:08 PM
asomers committed rG18e2c4175f78: Remove _POSIX_PRIORITIZED_IO references from man pages (authored by asomers).
Remove _POSIX_PRIORITIZED_IO references from man pages
Dec 18 2023, 3:08 PM

Dec 8 2023

asomers committed rGcf037972ea88: libcasper: document that most libcasper functions are not thread-safe (authored by asomers).
libcasper: document that most libcasper functions are not thread-safe
Dec 8 2023, 4:23 PM
asomers closed D42928: casper: document that most libcasper and cap_net functions are not thread-safe.
Dec 8 2023, 4:23 PM

Dec 7 2023

asomers committed R11:117f55784d98: sysutils/openzfs, sysutils/openzfs-kmod: update to ZFS 2.2.2 (authored by asomers).
sysutils/openzfs, sysutils/openzfs-kmod: update to ZFS 2.2.2
Dec 7 2023, 9:27 PM
asomers committed R11:512a940c48df: net/nss_ldap: fix the build on both 13.2 and 14.0+ (authored by asomers).
net/nss_ldap: fix the build on both 13.2 and 14.0+
Dec 7 2023, 5:44 PM

Dec 6 2023

asomers added a comment to D42928: casper: document that most libcasper and cap_net functions are not thread-safe.

@oshogbo I've updated all of them now. But do you think that this is too pedantic? Maybe I'm just a cossetted Rust programmer who expects that everything is thread-safe by default.

Dec 6 2023, 10:21 PM
asomers updated the diff for D42928: casper: document that most libcasper and cap_net functions are not thread-safe.
  • Add reentrancy notices to the other casper service man pages, too.
Dec 6 2023, 10:20 PM
asomers added a comment to D42928: casper: document that most libcasper and cap_net functions are not thread-safe.

@oshogbo do you agree with this wording? If so I'll add it to the other casper services' man pages and update the revision.

Dec 6 2023, 5:24 PM
asomers requested review of D42928: casper: document that most libcasper and cap_net functions are not thread-safe.
Dec 6 2023, 5:24 PM
asomers committed rG6b96125afdf2: cap_net.3: remove a copypasta (authored by asomers).
cap_net.3: remove a copypasta
Dec 6 2023, 4:52 PM
asomers closed D42919: cap_net.3: remove a copypasta.
Dec 6 2023, 4:52 PM

Dec 5 2023

asomers requested review of D42919: cap_net.3: remove a copypasta.
Dec 5 2023, 11:30 PM

Dec 1 2023

asomers committed rGc7d8a572acb2: libc/libc/rpc: refactor some global variables (authored by asomers).
libc/libc/rpc: refactor some global variables
Dec 1 2023, 9:18 PM
asomers closed D42865: sigaction.2: clarify that fork isn't async-signal-safe, but _Fork is.
Dec 1 2023, 4:00 PM
asomers committed rGc2ed7a63604f: sigaction.2: clarify that fork isn't async-signal-safe, but _Fork is (authored by asomers).
sigaction.2: clarify that fork isn't async-signal-safe, but _Fork is
Dec 1 2023, 4:00 PM
asomers requested review of D42865: sigaction.2: clarify that fork isn't async-signal-safe, but _Fork is.
Dec 1 2023, 3:21 PM

Nov 30 2023

asomers committed rG1bb2a240232e: aio_read.2: correct the description of aio_buf (authored by asomers).
aio_read.2: correct the description of aio_buf
Nov 30 2023, 11:50 PM
asomers committed rGad8b59ffe7b8: libc/libc/rpc: refactor some global variables (authored by asomers).
libc/libc/rpc: refactor some global variables
Nov 30 2023, 11:50 PM
asomers committed rG8b7963aeb576: Fix intermittency in the sys.fs.fusefs.mknod.main test (authored by asomers).
Fix intermittency in the sys.fs.fusefs.mknod.main test
Nov 30 2023, 11:49 PM
asomers committed rGe8dd46ee96c8: fusefs: add more readdir tests for misbehaving servers (authored by asomers).
fusefs: add more readdir tests for misbehaving servers
Nov 30 2023, 11:49 PM
asomers committed rGf23f9941f149: aio_read.2: correct the description of aio_buf (authored by asomers).
aio_read.2: correct the description of aio_buf
Nov 30 2023, 8:39 PM
asomers committed rG60314995efa0: libc/libc/rpc: refactor some global variables (authored by asomers).
libc/libc/rpc: refactor some global variables
Nov 30 2023, 3:17 AM
asomers committed rGc18c5774e022: fusefs: add more readdir tests for misbehaving servers (authored by asomers).
fusefs: add more readdir tests for misbehaving servers
Nov 30 2023, 12:05 AM

Nov 29 2023

asomers added a comment to D42825: zfsd: fault disks that generate too many I/O delay events.
In D42825#976834, @imp wrote:

I'd have liked to see these configurable thresholds for people that want to more or less aggressively fault things.
But as is, it's fine, and it's a nice to have not something absolutely required.

Nov 29 2023, 3:14 PM
asomers committed rGd565784a7eba: zfsd: fault disks that generate too many I/O delay events (authored by asomers).
zfsd: fault disks that generate too many I/O delay events
Nov 29 2023, 2:51 PM
asomers closed D42825: zfsd: fault disks that generate too many I/O delay events.
Nov 29 2023, 2:51 PM
asomers updated subscribers of D42825: zfsd: fault disks that generate too many I/O delay events.
Nov 29 2023, 2:49 PM

Nov 28 2023

asomers requested review of D42825: zfsd: fault disks that generate too many I/O delay events.
Nov 28 2023, 11:07 PM
asomers accepted D42791: zfs tests: Silence clang warning.
Nov 28 2023, 9:18 PM

Nov 21 2023

asomers committed rG04cfe6c12ccc: aio_read.2: correct the description of aio_buf (authored by asomers).
aio_read.2: correct the description of aio_buf
Nov 21 2023, 4:53 PM
asomers closed D42621: aio_read.2: correct the description of aio_buf.
Nov 21 2023, 4:52 PM

Nov 16 2023

asomers added a comment to D42150: bsdinstall: when installing UEFI, place the bootloader on all disks.

ping @jrtc27 does the latest version look better to you?

Nov 16 2023, 5:20 PM

Nov 15 2023

asomers accepted D42625: fuse copy_file_range() fixes.

LGTM. But under what circumstances can mp be NULL? We should probably add a regression test for that.

Nov 15 2023, 11:22 PM
asomers committed rG24938f9311c9: lib/libc/rpc: switch the per-fd structs in clnt_{dg,vc}.c to RB Trees (authored by asomers).
lib/libc/rpc: switch the per-fd structs in clnt_{dg,vc}.c to RB Trees
Nov 15 2023, 11:14 PM
asomers closed D42597: libc/libc/rpc: refactor some global variables.
Nov 15 2023, 11:13 PM
asomers committed rGa5c2f4e93943: libc/libc/rpc: refactor some global variables (authored by asomers).
libc/libc/rpc: refactor some global variables
Nov 15 2023, 11:13 PM
asomers updated the diff for D42597: libc/libc/rpc: refactor some global variables.
  • style fixup to "libc/libc/rpc: refactor some global variables"
  • fixup to "rpc: Replace per-fd condvars with mutexes in clnt_{vc,dg}.c"
Nov 15 2023, 6:41 PM
asomers added inline comments to D42597: libc/libc/rpc: refactor some global variables.
Nov 15 2023, 6:41 PM
asomers added a reviewer for D42622: Remove _POSIX_PRIORITIZED_IO references from man pages: manpages.
Nov 15 2023, 6:00 PM
asomers requested review of D42622: Remove _POSIX_PRIORITIZED_IO references from man pages.
Nov 15 2023, 6:00 PM
asomers added a reviewer for D42621: aio_read.2: correct the description of aio_buf: manpages.
Nov 15 2023, 5:33 PM
asomers requested review of D42621: aio_read.2: correct the description of aio_buf.
Nov 15 2023, 5:33 PM

Nov 14 2023

asomers updated the diff for D42597: libc/libc/rpc: refactor some global variables.
  • style change to dg_fd_find and vc_fd_find
  • rpc: Replace per-fd condvars with mutexes in clnt_{vc,dg}.c
Nov 14 2023, 11:50 PM
asomers added inline comments to D42597: libc/libc/rpc: refactor some global variables.
Nov 14 2023, 9:24 PM
asomers updated the diff for D42597: libc/libc/rpc: refactor some global variables.
  • Respond to kib's comments.
Nov 14 2023, 6:51 PM
asomers added inline comments to D42597: libc/libc/rpc: refactor some global variables.
Nov 14 2023, 6:51 PM
asomers requested review of D42597: libc/libc/rpc: refactor some global variables.
Nov 14 2023, 4:51 PM

Oct 24 2023

asomers added a comment to D42150: bsdinstall: when installing UEFI, place the bootloader on all disks.

This latest version fixes the script with UFS, and makes the bootconfig script less ZFS-specific.

Oct 24 2023, 10:42 PM
asomers updated the diff for D42150: bsdinstall: when installing UEFI, place the bootloader on all disks.
  • Add ESP to all ZFS boot disks, pretty edition
Oct 24 2023, 10:41 PM

Oct 21 2023

asomers committed rGbc417deae52a: Fix intermittency in the sys.fs.fusefs.mknod.main test (authored by asomers).
Fix intermittency in the sys.fs.fusefs.mknod.main test
Oct 21 2023, 9:41 PM
asomers committed rGaf20b2201669: Fix intermittency in the sys.fs.fusefs.mknod.main test (authored by asomers).
Fix intermittency in the sys.fs.fusefs.mknod.main test
Oct 21 2023, 3:42 PM

Oct 15 2023

asomers committed rGec3864cc6861: fusefs: sanitize FUSE_READLINK results for embedded NULs (authored by asomers).
fusefs: sanitize FUSE_READLINK results for embedded NULs
Oct 15 2023, 1:20 PM
asomers committed rG0022bd418e6c: fusefs: sanitize FUSE_READLINK results for embedded NULs (authored by asomers).
fusefs: sanitize FUSE_READLINK results for embedded NULs
Oct 15 2023, 2:13 AM

Oct 14 2023

asomers committed rG8fca98f6881f: fusefs: sanitize FUSE_READLINK results for embedded NULs (authored by asomers).
fusefs: sanitize FUSE_READLINK results for embedded NULs
Oct 14 2023, 5:58 PM

Oct 10 2023

asomers added inline comments to D42150: bsdinstall: when installing UEFI, place the bootloader on all disks.
Oct 10 2023, 8:29 PM