| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Fixed a nearby style bug. The include of vcoda.h used angle brackets and
was not used.
Notes:
svn path=/head/; revision=120794
|
|
|
|
| |
Notes:
svn path=/head/; revision=120784
|
|
|
|
|
|
|
|
| |
because we do not drop the mntvnode_mtx. If this code had ever executed
and hit the loop condition it would have spun forever.
Notes:
svn path=/head/; revision=120735
|
|
|
|
| |
Notes:
svn path=/head/; revision=120011
|
|
|
|
|
|
|
| |
operation is interrupted (with ^C or ^Z) under CODA_VERBOSE.
Notes:
svn path=/head/; revision=119942
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FIDs to be 128-bits wide and adds support for realms.
Add a new CODA_COMPAT_5 option, which requests support for the old
Coda 5.x interface instead of the new one.
Create a new coda5.ko module that supports the 5.x interface, and make
the existing coda.ko module use the new 6.x interface. These modules
cannot both be loaded at the same time.
Obtained from: Jan Harkes & the coda-6.0.2 distribution,
NetBSD (drochner) (CODA_COMPAT_5 option).
Notes:
svn path=/head/; revision=119832
|
|
|
|
|
|
|
|
|
|
|
|
| |
contain the filedescriptor number on opens from userland.
The index is used rather than a "struct file *" since it conveys a bit
more information, which may be useful to in particular fdescfs and /dev/fd/*
For now pass -1 all over the place.
Notes:
svn path=/head/; revision=118047
|
|
|
|
| |
Notes:
svn path=/head/; revision=116410
|
|
|
|
|
|
|
|
| |
Submitted by: hmp
Reviewed by: phk
Notes:
svn path=/head/; revision=116271
|
|
|
|
| |
Notes:
svn path=/head/; revision=116173
|
|
|
|
|
|
|
|
|
|
| |
a follow on commit to kern_sig.c
- signotify() now operates on a thread since unmasked pending signals are
stored in the thread.
- PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
Notes:
svn path=/head/; revision=112888
|
|
|
|
|
|
|
| |
handlers installed by other devices.
Notes:
svn path=/head/; revision=112706
|
|
|
|
| |
Notes:
svn path=/head/; revision=111960
|
|
|
|
|
|
|
|
|
| |
occurs when mounting the filesystem. The problem is that venus issues
the mount() syscall, which calls vfs_mount(), which calls coda_root()
which attempts to communicate with venus.
Notes:
svn path=/head/; revision=111945
|
|
|
|
| |
Notes:
svn path=/head/; revision=111931
|
|
|
|
| |
Notes:
svn path=/head/; revision=111908
|
|
|
|
|
|
|
| |
messages from ls(1).
Notes:
svn path=/head/; revision=111903
|
|
|
|
|
|
|
| |
This happens when called from lookup().
Notes:
svn path=/head/; revision=111902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
Notes:
svn path=/head/; revision=111815
|
|
|
|
| |
Notes:
svn path=/head/; revision=111573
|
|
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
|
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
|
|
|
|
|
|
| |
Requested by: rwatson, phk, and many others
Notes:
svn path=/head/; revision=104306
|
|
|
|
|
|
|
|
|
| |
on a process's pending signals, use the signal queue flattener,
ksiginfo_to_sigset_t, on the process, and on a local sigset_t, and then work
with that as needed.
Notes:
svn path=/head/; revision=104264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/h/des/src/sys/coda/coda_venus.c: In function `venus_ioctl':
/h/des/src/sys/coda/coda_venus.c:277: warning: cast from pointer to integer of
different size
/h/des/src/sys/coda/coda_venus.c:292: warning: cast from pointer to integer of
different size
/h/des/src/sys/coda/coda_venus.c: In function `venus_readlink':
/h/des/src/sys/coda/coda_venus.c:380: warning: cast from pointer to integer of
different size
/h/des/src/sys/coda/coda_venus.c: In function `venus_readdir':
/h/des/src/sys/coda/coda_venus.c:637: warning: cast from pointer to integer of
different size
Submitted by: des-alpha-tinderbox
Notes:
svn path=/head/; revision=103989
|
|
|
|
| |
Notes:
svn path=/head/; revision=103937
|
|
|
|
|
|
|
|
| |
was being cast to an integer as part of a hash function, so just
add an intptr_t cast to silence the warning.
Notes:
svn path=/head/; revision=103804
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
v_tag is now const char * and should only be used for debugging.
Additionally:
1. All users of VT_NTS now check vfsconf->vf_type VFCF_NETWORK
2. The user of VT_PROCFS now checks for the new flag VV_PROCDEP, which
is propagated by pseudofs to all child vnodes if the fs sets PFS_PROCDEP.
Suggested by: phk
Reviewed by: bde, rwatson (earlier version)
Notes:
svn path=/head/; revision=103314
|
|
|
|
|
|
|
| |
Noticed by: i386 tinderbox
Notes:
svn path=/head/; revision=101330
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- v_vflag is protected by the vnode lock and is used when synchronization
with VOP calls is needed.
- v_iflag is protected by interlock and is used for dealing with vnode
management issues. These flags include X/O LOCK, FREE, DOOMED, etc.
- All accesses to v_iflag and v_vflag have either been locked or marked with
mp_fixme's.
- Many ASSERT_VOP_LOCKED calls have been added where the locking was not
clear.
- Many functions in vfs_subr.c were restructured to provide for stronger
locking.
Idea stolen from: BSD/OS
Notes:
svn path=/head/; revision=101308
|
|
|
|
| |
Notes:
svn path=/head/; revision=96755
|
|
|
|
|
|
|
|
|
| |
Retire daddr64_t and use daddr_t instead.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=96572
|
|
|
|
|
|
|
| |
3.2 drops the ball.
Notes:
svn path=/head/; revision=95094
|
|
|
|
| |
Notes:
svn path=/head/; revision=94861
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
they aren't in the usual path of execution for syscalls and traps.
The main complication for this is that we have to set flags to control
ast() everywhere that changes the signal mask.
Avoid locking in userret() in most of the remaining cases.
Submitted by: luoqi (first part only, long ago, reorganized by me)
Reminded by: dillon
Notes:
svn path=/head/; revision=93793
|
|
|
|
| |
Notes:
svn path=/head/; revision=92755
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
locking flags when acquiring a vnode. The immediate purpose is
to allow polling lock requests (LK_NOWAIT) needed by soft updates
to avoid deadlock when enlisting other processes to help with
the background cleanup. For the future it will allow the use of
shared locks for read access to vnodes. This change touches a
lot of files as it affects most filesystems within the system.
It has been well tested on FFS, loopback, and CD-ROM filesystems.
only lightly on the others, so if you find a problem there, please
let me (mckusick@mckusick.com) know.
Notes:
svn path=/head/; revision=92462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the bio and buffer structures to have daddr64_t bio_pblkno,
b_blkno, and b_lblkno fields which allows access to disks
larger than a Terabyte in size. This change also requires
that the VOP_BMAP vnode operation accept and return daddr64_t
blocks. This delta should not affect system operation in
any way. It merely sets up the necessary interfaces to allow
the development of disk drivers that work with these larger
disk block addresses. It also allows for the development of
UFS2 which will use 64-bit block addresses.
Notes:
svn path=/head/; revision=92363
|
|
|
|
|
|
|
| |
reference.
Notes:
svn path=/head/; revision=91406
|
|
|
|
| |
Notes:
svn path=/head/; revision=91181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New locks are:
- pgrpsess_lock which locks the whole pgrps and sessions,
- pg_mtx which protects the pgrp members, and
- s_mtx which protects the session members.
Please refer to sys/proc.h for the coverage of these locks.
Changes on the pgrp/session interface:
- pgfind() needs the pgrpsess_lock held.
- The caller of enterpgrp() is responsible to allocate a new pgrp and
session.
- Call enterthispgrp() in order to enter an existing pgrp.
- pgsignal() requires a pgrp lock held.
Reviewed by: jhb, alfred
Tested on: cvsup.jp.FreeBSD.org
(which is a quad-CPU machine running -current)
Notes:
svn path=/head/; revision=91140
|
|
|
|
| |
Notes:
svn path=/head/; revision=89090
|
|
|
|
|
|
|
| |
also don't use ANSI string concatenation.
Notes:
svn path=/head/; revision=87599
|
|
|
|
|
|
|
|
|
| |
in preparation for an implementation of limiting code for kern.maxvnodes.
MFC after: 3 days
Notes:
svn path=/head/; revision=85339
|
|
|
|
| |
Notes:
svn path=/head/; revision=84874
|
|
|
|
|
|
|
|
| |
<sys/mount.h> in rev.1.106 of the latter (don't include <sys/socket.h>
just to work around bugs in <sys/mount.h>).
Notes:
svn path=/head/; revision=84873
|
|
|
|
|
|
|
|
|
|
|
| |
- crhold() returns a reference to the ucred whose refcount it bumps.
- crcopy() now simply copies the credentials from one credential to
another and has no return value.
- a new crshared() primitive is added which returns true if a ucred's
refcount is > 1 and false (0) otherwise.
Notes:
svn path=/head/; revision=84827
|
|
|
|
| |
Notes:
svn path=/head/; revision=83804
|
|
|
|
|
|
|
| |
pointed out by: jhb
Notes:
svn path=/head/; revision=83417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Notes:
svn path=/head/; revision=83366
|