User Details
- User Since
- May 9 2014, 11:04 PM (565 w, 3 d)
Wed, Mar 5
Mon, Mar 3
This LGTM. C++20 would be nicer, because it would simplify one thing in the fusefs tests, but that would require a whole new tinderbox run.
Thu, Feb 27
Mon, Feb 24
Mon, Feb 17
LGTM. Except that the commit message contains a typo: "uprivileged_user" => "unprivileged_user"
Fri, Feb 14
What maintenance burden, @kp? I think it's a worthwhile change. I've run into similar problems myself. I find it easy to have a system where something pulls in, say, lang/python311 but not lang/python3.
Tue, Feb 11
Ahh, sorry for the noise.
The old code certainly looks broken. I guess nobody was using it?
It's frustrating that file parsing is so difficult in C.
Yikes. I guess nobody was using those.
Did you check for any similar resource leaks in uclparse.c ?
Thanks for doing all this cleanup.
Feb 7 2025
Feb 4 2025
Feb 2 2025
Feb 1 2025
Jan 31 2025
The only improvement I could suggest would be to factor out the guts of both functions into a third, private function. That would save callers of nvmf_nqn_valid_strict from calling strlen twice. But it's probably premature optimization.
Jan 28 2025
I think this is ok. Losing the ability to apply configuration once before daemonizing is unfortunate but understandable. If it's a problem, we can fix it later by using rfork. I also see that you're only passing a single-element eventlist to kevent, which isn't the most efficient. But ctld isn't supposed to get a high rate of connections, so that's fine.
- fixup: add eventfd too
Jan 24 2025
Jan 23 2025
I guess this is OK, but I haven't ever done anything with the discovery code, so I don't know how it's supposed to work.
Jan 22 2025
This LGTM. But now libiscsiutil is just begging for some ATF tests.
Jan 21 2025
This is a great use of vnet.
Jan 20 2025
Jan 17 2025
Jan 15 2025
- Cleanup trailing whitespace
Jan 14 2025
Since st_filerev provides similar information to st_gen, should it also be guarded by PRIV_VFS_GENERATION in vop_stat_helper_post? And does it warrant mention in stat.2 ?
Jan 13 2025
fusefs currently doesn't set va_filerev at all. I can fix that. But with fuse, ctime updates can come from either the kernel or the server. So the easiest solution would probably be to make va_filerev be a function of ctime. Would that work with the Linux client, assuming we set NFS4_CHANGE_TYPE_IS_TIME_METADATA ?
Jan 9 2025
This LGTM. Too bad Coverity can't figure it out for itself.
Jan 6 2025
I think this is OK. But it would also be fine just to put an assert(j < max_queue_per_proc before the array dereference.
Jan 3 2025
libtirpc did something similar: https://github.com/alisw/libtirpc/commit/1e786fc401ff625fdcec3e0bdc495125feb0a070 . NetBSD and OpenBSD still contain the lseek.
Jan 1 2025
Dec 31 2024
Does this option cause the port to build both the aarch64 and x86_64 freestanding targets, regardless of the host architecture? Why not build freestanding targets only for the host arch?
Dec 27 2024
Dec 25 2024
@rmacklem do you think this does a decent job of approximating the peculiarities of nfsd?