Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-28 | fill the va_blocksize with something a litte saner, | Thordur I. Bjornsson | |
make stat(2) return st_blocksize thats a bit closer to reality. From NetBSD; OK art@, beck@, tedu@ | |||
2007-11-08 | Fix unsafe queue macro use | Bret Lambert | |
ok thib@ 'emphatic' ok beck@ | |||
2007-11-07 | more low hanging fruit; Expand the nfsm_srvwcc_data() macro | Thordur I. Bjornsson | |
and nuke it's definition. OK krw@, blamers@ | |||
2007-11-06 | Expand the nfsm_srvfillattr() macro and | Thordur I. Bjornsson | |
nuke it's definition. OK krw@, blambert@ | |||
2007-11-05 | deinline nfs_attrtimeo(); and remove some associated | Thordur I. Bjornsson | |
#ifdef goo. ok krw@, blambert@ | |||
2007-10-30 | remove an unused macro, NFSMINOFF; | Thordur I. Bjornsson | |
ok beck@, blambert@ "Kill it. Kill it dead." krw@ | |||
2007-10-29 | Touch of KNF and style(9), spaces and comments. | Thordur I. Bjornsson | |
make pretty. ok krw@ | |||
2007-10-28 | Remove the "frev" argument from nfs_rephead(); and clean up the "frev" | Thordur I. Bjornsson | |
variables, that are declared all over, since they are passed via macros to nfs_rephead(); which doesn't do anything with it. OK krw@ | |||
2007-10-28 | remove some unused members of struct nfsnode; | Thordur I. Bjornsson | |
some spacing while there. ok krw@ | |||
2007-10-17 | use TAILQ_FOREACH() where applicable in nfs_timer(); | Thordur I. Bjornsson | |
ok art@, blambert@ | |||
2007-10-15 | Remove a set, but unused varible in nfs_socket(); | Thordur I. Bjornsson | |
NQNFS leftover. ok miod@,blambert@ | |||
2007-10-14 | Remove now unused functions dealing with kerberos | Thordur I. Bjornsson | |
authentication. ok beck@ | |||
2007-10-13 | Remove alot of dead kerberos code (add sane comments too). | Thordur I. Bjornsson | |
Cleanup and partly redo the way we create the RPC header, by having nfsm_rpchead() do a bit more work. Right now this is pretty RPCAUTH_UNIX centric, but since it is the only auth method we support right now thats fine. Make sure we can never generate a zero xid, thats forbidden by the RFC. Misc cleanup. tested by a few. | |||
2007-10-08 | shrink nfsrv_v2errmap[] and check table size more carefully to avoid | Theo de Raadt | |
dependency on ELAST; ok miod thib | |||
2007-10-07 | Make sure nfsrv_v2errmap[] really contains ELAST initialized values. | Miod Vallat | |
2007-09-26 | nfsm_uiotom macro does nothing but hide error-handling code; replace | Bret Lambert | |
inline in the one place that it's called ok thib@, weingart@ "I don't see why not" fgsch@ | |||
2007-09-20 | Don't rely on mbuf.h including pool.h (which is going to stop soon) | Bret Lambert | |
ok thib@ henning@ art@ | |||
2007-09-20 | MALLOC/FREE -> malloc/free + M_ZERO. | Thordur I. Bjornsson | |
Uneeded includes and casts... ok krw@ | |||
2007-09-11 | Replace nfsm_reqdone and nfsm_srvdone macros inline. No binary change. | Bret Lambert | |
ok thib@ | |||
2007-06-25 | replace magic number with a define. | Thordur I. Bjornsson | |
(2 -> SHUT_RDWR in calls to soshutdown()). From Iruata Souza. ok deraadt@ | |||
2007-06-21 | remove a whole bunch of duplicate function | Thordur I. Bjornsson | |
prototypes. (survived build/release on macppc/amd64). ok pedro@ | |||
2007-06-20 | READDIRPLUS is v3 only, bail out if the mount isnt a v3. | Thordur I. Bjornsson | |
Prevents weird things from happening. ok tedu@,pedro@ | |||
2007-06-13 | - Remove the nm_inprog member from struct nfsmount; | Thordur I. Bjornsson | |
NQNFS leftover. - Remove setting of the NFSMNT_DISMINPROG flag, its set and unset in the same function servering no purpose, im however going to reuse it shortly. - kill an if thats always true (NFSMNT_KERB cant be set) - misc cleanup and KNF. ok beck@ | |||
2007-06-12 | remove some unused externs; | Thordur I. Bjornsson | |
smallish cleanup (move prototypes and externs togather). ok toby@ | |||
2007-06-06 | remove an unused typedef. | Thordur I. Bjornsson | |
ok pedro@ | |||
2007-06-01 | pedro ok'd this ~3500 line diff which removes the vop argument | Theo de Raadt | |
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too. | |||
2007-06-01 | daddr_t -> daddr64_t; | Thordur I. Bjornsson | |
Basically the usage of daddr_t was to math out arguments to nfs_getcacheblk, wich calls getblk(); ok deraadt@ | |||
2007-05-31 | when getting ESTALE from the server, allow the client to retry in the | Thordur I. Bjornsson | |
nfsv2 client case, this matches v3 behaviour to that extent. This is to work around the fact that when the namecache is large, we dont purge vnodes correctly out of it. ok beck@,pedro@ | |||
2007-05-31 | kill some ifdef noyet code, de-static functions (makes my traces nicer), | Thordur I. Bjornsson | |
some comments and style. ok tedu@ | |||
2007-05-31 | zap nfs_cltpsock; Unused since NQNFS died. | Thordur I. Bjornsson | |
ok beck@ | |||
2007-05-31 | This is not the buffer you are looking for, | Thordur I. Bjornsson | |
vintage 6 year old NFS bug. ok beck@, looked at three times by art@ | |||
2007-05-29 | Add a name argument to the RWLOCK_INITIALIZER macro. | Thordur I. Bjornsson | |
Pick reasonble names for the locks involved.. ok tedu@, art@ | |||
2007-05-28 | zap annoying __KERNEL_RCSID(). | Thordur I. Bjornsson | |
ok krw@ | |||
2007-05-28 | lockmgr -> rwlock for the nfs_hashlock. | Thordur I. Bjornsson | |
ok tedu@ | |||
2007-05-28 | Fix tree breakage. Variables only used inside #ifdef NFSSERVER should | Kenneth R Westerback | |
be defined inside same. ramdisk_cd (has nfs, but is not a server) compiles again. | |||
2007-05-27 | cleanup the nfssvc() system call. | Thordur I. Bjornsson | |
* Remove alot of dead kerberos code like the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where originally to get the kerberos auth info into the kernel. (that hasnt worked for long, if ever.) Also remove some helper functions and associated goo, however theres still alot of it left. * Remove NFSSVC_BIOD, biod's where replaced with kernel threads a long time ago. * NFSSVC_MNTD wich was is NQNFS leftover. Update the man page and nfsd(8). nfssvc(2) besides being special has only one user in the tree nfsd(8), therefore no library bumps are needed. (discussed with deraadt@). ok beck@, "go a head" deraadt@ Tested by ckuethe@ | |||
2007-05-17 | Collapse struct v_selectinfo in struct vnode, remove the | Thordur I. Bjornsson | |
simplelock and reuse the name for the selinfo member. Clean-up accordingly. ok tedu@,art@ | |||
2007-04-24 | Dont log() send failures in nfs_send(), they arent helpful since we retry | Thordur I. Bjornsson | |
and recover for the client case (or terminate with EINTR if to many retries), and in the server case, if we cant send due to f.x network troubles its up to the client to retry not the server. (server not responding messages are logged in another place though). discussed with deraadt@ | |||
2007-04-19 | Replace the nfskevq_lock lockmgr lock with rwlock. | Thordur I. Bjornsson | |
Replace nfs_kqinit() wich just calls lockinit with RWLOCK_INITALIZER. Assorted cleanup. ok tedu@ "reads good" art@ | |||
2007-04-13 | Move the declaration of VN_KNOTE() into vnode.h instead of having | Thordur I. Bjornsson | |
multiple defines all over; ok tedu@ | |||
2007-04-13 | remove some unneeded externs and unused declerations. | Thordur I. Bjornsson | |
There's no need to extern stuff thats declared in the same file. ok tedu@ | |||
2007-04-12 | If VOP_GETATTR() in the nfs_kqpoll() loop returns ESTALE, catch it. | Thordur I. Bjornsson | |
Not doing so can lead to clients missing out if the file is for example removed on the server and the client is doing a 'tail -f' on it. If it returns ESTALE, mark the file deleted and proceed to handling the next entry. ok tedu@,art@ | |||
2007-04-12 | remove unused members from struct nfsmount and nfsnode; | Thordur I. Bjornsson | |
ok pedro@ | |||
2007-04-11 | remove duplicate prototype; | Thordur I. Bjornsson | |
ok pedro@ | |||
2007-03-18 | get rid of noop vop_reallocblks; pedro@ miod@ ok | Michael Shalayeff | |
2007-02-27 | clarify RPC timeout messages so regular people can understand; ok various | Theo de Raadt | |
2007-02-23 | backout previous revision -- on nfs2 mounts (perhaps only automounted?) it | Theo de Raadt | |
tends to .nfs silly files lying around during high filesystem activity. whatever bug it was trying to fix, it made things worse. | |||
2007-01-21 | don't assume our directory vnode will be flushed out after us, fixes | Pedro Martelletto | |
crash when unmounting nfs volumes, okay thib@, krw@ and mickey@ | |||
2007-01-16 | Retire VOP_LEASE(); It was a bit for NQNFS and has | Thordur 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-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |