summaryrefslogtreecommitdiff
path: root/sys/xfs
AgeCommit message (Collapse)Author
2008-05-07remove the vfc_mountroot member from vfsconf andThordur I. Bjornsson
do appropriate cleanup; OK deraadt@
2007-12-09MALLOC/FREE -> malloc/freeHans-Joerg Hoexer
ok gilles
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-28stop putting xfs (and only xfs) rcsid into the kernel; ok miodTheo de Raadt
2007-10-08A memset(,0,) -> M_ZERO change which also fixes a possible bug withKenneth R Westerback
malloc'ing one struct size but zero'ing the memory with another struct size. Feedback from todd@ tedu@ miod@
2007-10-08More simple memset(,0,) -> M_ZERO changes. In this batch move toKenneth R Westerback
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.
2007-06-02daddr64_t (in comments)Theo de Raadt
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentTheo de Raadt
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
2007-05-30back out vfs change - todd fries has seen afs issues, and I'm suspiciousBob Beck
this can cause other problems.
2007-05-29make xfs use VT_XFS instead of VT_AFS when getting vnodesThordur I. Bjornsson
via getnewvnode(); ok art@,tedu@ tested by todd@
2007-05-29 Step one of some vnode improvements - change getnewvnode toBob Beck
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@
2007-05-28avoid bypassing sys/queue.h in many places in the kernel.Pierre-Yves Ritschard
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
2007-04-11Remove the simplelock argument from vrecycle();Thordur I. Bjornsson
ok pedro@, sturm@
2007-03-21Remove the v_interlock simplelock from the vnode structure.Thordur I. Bjornsson
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@
2007-01-16Retire VOP_LEASE(); It was a bit for NQNFS and hasThordur I. Bjornsson
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)
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
requested by and ok pedro
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm
ok tedu, pedro
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
2006-01-09Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks.Pedro Martelletto
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64.
2005-11-30No need for vfs_busy() and vfs_unbusy() to take a process pointerPedro Martelletto
anymore. Testing by jolan@, thanks.
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
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.
2005-08-04fix worst three kernel stack pigs in xfs by moving stack allocation ofBob Beck
xfs message structures to malloc M_TEMP. ok art@
2005-07-04Extended Attributes was a piece to get to ACLs, however ACLs have notDale Rahn
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)
2005-05-27remove references of VOP_WHITEOUT from the kernel, okay millert@Pedro Martelletto
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-05-28Make lf_advlock glue work for AFS so flock/fcntl lock requests will workBob Beck
on the local machine (like NFS). This does not yet implement whole file AFS locking (arla doesn't do that yet). ok tedu@ art@
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2004-02-19Set sensible value for mntfromname, to make 'mount' report theHans Insulander
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.
2004-01-18clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.Bob Beck
ok deraadt@, todd@
2003-12-09fix PR 3552 by removing ifdef cruftBob Beck
ok (and sent earlier by) tedu@
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-06Implement a real xfs_devpoll() and don't rely on xfs_realselect().Todd C. Miller
Tested by beck@
2003-10-04fix xfs_devpoll so it works.Bob Beck
ok millert@
2003-09-28Missing xfs_devpoll proto. You would think with all that HAVE_FOOTodd C. Miller
crap the protos would be done for you. Apparently not...
2003-09-28xfs_devpoll must not be static; found by beck@ compiling an XFS kernelTodd C. Miller
2003-09-26select to pollMichael Shalayeff
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
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
2003-09-08fix pr 3442 - make all AFS ioctl's for XFS come from the xfs/xfs_pioctl.hBob Beck
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.
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
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@
2003-08-14constify vfsops; tedu@ okMichael Shalayeff
2003-08-12Fix include stuff, unused variables and statics and other small things neededHans Insulander
to compile in our tree.
2003-08-12For whatever reason, cvs cannot import a file that already exists, but isHans Insulander
deleted. *sigh*
2003-08-12fix GENERIC compilation.Federico G. Schwindt
2003-08-12MergeHans Insulander
2003-08-12Import xfs from arla-current as of 5 Aug 2003.Hans Insulander
ok deraadt@
2003-07-24kill some externs that are not there anymore and had left other places for a ↵Michael Shalayeff
better void ages ago
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok