summaryrefslogtreecommitdiffstats
path: root/sys/xfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@jj2009-06-0336-11331/+0
|
* physmem allocator: change the view of free memory from single free pagesariane2009-06-011-1/+1
| | | | | | | | | to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Ok art@
* Don't use (type *)var as an lvalue in assigment, it's incorrect.grange2009-01-152-1/+4
| | | | | | Provide proper assignment macro instead. No binary change. ok beck@
* remove the vfc_mountroot member from vfsconf andthib2008-05-071-1/+0
| | | | | | do appropriate cleanup; OK deraadt@
* MALLOC/FREE -> malloc/freehshoexer2007-12-092-6/+4
| | | | ok gilles
* spelling fixes, from Martynas Venckus;jmc2007-11-251-1/+1
|
* MALLOC/FREE -> malloc/freechl2007-10-291-2/+1
| | | | ok krw@
* stop putting xfs (and only xfs) rcsid into the kernel; ok miodderaadt2007-10-282-4/+2
|
* A memset(,0,) -> M_ZERO change which also fixes a possible bug withkrw2007-10-081-2/+1
| | | | | | | malloc'ing one struct size but zero'ing the memory with another struct size. Feedback from todd@ tedu@ miod@
* More simple memset(,0,) -> M_ZERO changes. In this batch move tokrw2007-10-081-2/+1
| | | | | | size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby.
* daddr64_t (in comments)deraadt2007-06-021-2/+2
|
* pedro ok'd this ~3500 line diff which removes the vop argumentderaadt2007-06-011-10/+2
| | | | | "ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
* back out vfs change - todd fries has seen afs issues, and I'm suspiciousbeck2007-05-301-17/+8
| | | | this can cause other problems.
* make xfs use VT_XFS instead of VT_AFS when getting vnodesthib2007-05-292-2/+2
| | | | | | | via getnewvnode(); ok art@,tedu@ tested by todd@
* Step one of some vnode improvements - change getnewvnode tobeck2007-05-291-8/+17
| | | | | | | | actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held with vhold, and change the name cache to make use of vhold/vdrop, while keeping track of which vnodes are referred to by which cache entries to correctly hold/drop vnodes when the cache uses them. ok thib@, tedu@, art@
* avoid bypassing sys/queue.h in many places in the kernel.pyr2007-05-281-7/+1
| | | | | | | | many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
* Remove the simplelock argument from vrecycle();thib2007-04-112-2/+2
| | | | ok pedro@, sturm@
* Remove the v_interlock simplelock from the vnode structure.thib2007-03-211-2/+2
| | | | | | | | | Zap all calls to simple_lock/unlock() on it (those calls are #defined away though). Remove the LK_INTERLOCK from the calls to vn_lock() and cleanup the filesystems wich implement VOP_LOCK(). (by remvoing the v_interlock from there calls to lockmgr()). ok pedro@, art@, tedu@
* Retire VOP_LEASE(); It was a bit for NQNFS and hasthib2007-01-161-2/+0
| | | | | | | | | effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se)
* rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITsturm2006-06-251-1/+1
| | | | requested by and ok pedro
* move vfs_busy() to rwlocks and properly hide the locking api from vfssturm2006-06-141-1/+1
| | | | ok tedu, pedro
* remove the simplelock argument from vfs_busy() which is currently notsturm2006-04-302-2/+8
| | | | | | used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
* Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks.pedro2006-01-091-2/+3
| | | | Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64.
* No need for vfs_busy() and vfs_unbusy() to take a process pointerpedro2005-11-301-2/+2
| | | | anymore. Testing by jolan@, thanks.
* Move contents of sys/select.h to sys/selinfo.h in preparation for amillert2005-11-211-1/+1
| | | | | userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
* Remove unnecessary lockmgr() archaism that was costing too much in termspedro2005-11-191-1/+1
| | | | | | of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
* fix worst three kernel stack pigs in xfs by moving stack allocation ofbeck2005-08-043-35/+70
| | | | | xfs message structures to malloc M_TEMP. ok art@
* Extended Attributes was a piece to get to ACLs, however ACLs have notdrahn2005-07-041-4/+0
| | | | | | been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained. (missed in previous commit)
* remove references of VOP_WHITEOUT from the kernel, okay millert@pedro2005-05-271-2/+0
|
* miscellaneous typo fixes:jfb2005-02-171-2/+2
| | | | | | | - sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
* the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@todd2004-08-031-1/+1
|
* Make lf_advlock glue work for AFS so flock/fcntl lock requests will workbeck2004-05-281-23/+4
| | | | | | on the local machine (like NFS). This does not yet implement whole file AFS locking (arla doesn't do that yet). ok tedu@ art@
* use pool for namei pathbuf. testing ok millert@ tdeval@tedu2004-05-141-2/+4
|
* Set sensible value for mntfromname, to make 'mount' report thehin2004-02-191-1/+1
| | | | | | | xfs device that was actually mounted, not just 'arla'. Issue noted by deraadt@. Thanks to Jan Johansson (janj+openbsd at wenf.org) for testing on i386 and sparc64.
* clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.beck2004-01-181-252/+58
| | | | ok deraadt@, todd@
* fix PR 3552 by removing ifdef cruftbeck2003-12-091-2/+0
| | | | ok (and sent earlier by) tedu@
* typos from Jonathon Gray;jmc2003-11-083-7/+7
|
* Implement a real xfs_devpoll() and don't rely on xfs_realselect().millert2003-10-061-5/+14
| | | | Tested by beck@
* fix xfs_devpoll so it works.beck2003-10-041-1/+1
| | | | ok millert@
* Missing xfs_devpoll proto. You would think with all that HAVE_FOOmillert2003-09-282-2/+3
| | | | crap the protos would be done for you. Apparently not...
* xfs_devpoll must not be static; found by beck@ compiling an XFS kernelmillert2003-09-281-1/+1
|
* select to pollmickey2003-09-261-1/+1
|
* Replace select backends with poll backends. selscan() and pollscan()millert2003-09-231-2/+2
| | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
* fix pr 3442 - make all AFS ioctl's for XFS come from the xfs/xfs_pioctl.hbeck2003-09-081-18/+25
| | | | | | | file from the kernel - this makes the kerberosV/kafs.h file include that, as well as the kafs.h used in afs (hiding in the afs sources). this needs more drastic gutting post release, but at least this now all uses the same ioctl's.
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-151-0/+4
| | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
* constify vfsops; tedu@ okmickey2003-08-141-1/+1
|
* Fix include stuff, unused variables and statics and other small things neededhin2003-08-126-6/+7
| | | | to compile in our tree.
* For whatever reason, cvs cannot import a file that already exists, but ishin2003-08-121-0/+140
| | | | deleted. *sigh*
* fix GENERIC compilation.fgsch2003-08-122-1/+3
|
* Mergehin2003-08-1228-2041/+3142
|