sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Fix the standalone build of the nfscl and nfsd modules.Reported by: [email protected]
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
show more ...
- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the in
- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined version of the releasing functions for mutex, rwlock and sxlock. Failing to do so skips the lockstat_probe_func invokation for unlocking.- As part of the LOCKSTAT support is inlined in mutex operation, for kernel compiled without lock debugging options, potentially every consumer must be compiled including opt_kdtrace.h. Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES is linked there and it is only used as a compile-time stub [0].[0] immediately shows some new bug as DTRACE-derived support for debugin sfxge is broken and it was never really tested. As it was notincluding correctly opt_kdtrace.h before it was never enabled so itwas kept broken for a while. Fix this by using a protection stub,leaving sfxge driver authors the responsibility for fixing itappropriately [1].Sponsored by: EMC / Isilon storage divisionDiscussed with: rstone[0] Reported by: rstone[1] Discussed with: philip
Fix make buildworld -DMODULES_WITH_WORLDSort opt_ srcs
Fix the experimental NFS client so that it does not boguslyset the f_flags field of "struct statfs". This had the interestingeffect of making the NFSv4 mounts "disappear" after r221014,since NFSMN
Fix the experimental NFS client so that it does not boguslyset the f_flags field of "struct statfs". This had the interestingeffect of making the NFSv4 mounts "disappear" after r221014,since NFSMNT_NFSV4 and MNT_IGNORE became the same bit.Move the files used for a diskless NFS root from sys/nfsclientto sys/nfs in preparation for them to be used by both NFSclients. Also, move the declaration of the three global datastructures from sys/nfsclient/nfs_vfsops.c to sys/nfs/nfs_diskless.cso that they are defined when either client uses them.Reviewed by: jhbMFC after: 2 weeks
Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separatemodule that can be used by both the regular and experimental nfsclients. This fixes the problem reported by jh@ where /dev/nfslo
Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separatemodule that can be used by both the regular and experimental nfsclients. This fixes the problem reported by jh@ where /dev/nfslockwould be registered twice when both nfs clients were used.I also defined the size of the lm_fh field to be the correct value,as it should be the maximum size of an NFSv3 file handle.Reviewed by: jhMFC after: 2 weeks
Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options: NFSCL - the client NFSD
Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options: NFSCL - the client NFSD - the serverIt is also built as three modules: nfscl - the client nfsd - the server nfscommon - functions shared by the client and serverApproved by: kib (mentor)