summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfsclient/nfs_clbio.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch the experimental NFS client in a manner analogous tormacklem2010-01-281-4/+4
| | | | | | | | r203072 for the regular NFS client. Also, delete two fields of struct nfsmount that are not used by the FreeBSD port of the client. MFC after: 2 weeks
* When porting the experimental nfs subsystem to the FreeBSD8 krpc,rmacklem2009-12-261-100/+5
| | | | | | | | | I added 3 functions that were already in the experimental client under different names. This patch deletes the functions in the experimental client and renames the calls to use the other set. (This is just removal of duplicated code and does not fix any bug.) MFC after: 2 weeks
* Add changes to the experimental nfs client to use the PBDRY flag forrmacklem2009-07-221-4/+4
| | | | | | | | msleep(9) when a vnode lock or similar may be held. The changes are just a clone of the changes applied to the regular nfs client by r195703. Approved by: re (kensmith), kib (mentor)
* Fix some of the style errors in *getpages().alc2009-06-181-18/+13
|
* This commit is analagous to r193952, but for the experimental nfsrmacklem2009-06-101-8/+15
| | | | | | | | | | | subsystem. Add a test for VI_DOOMED just after ncl_upgrade_vnlock() in ncl_bioread_check_cons(). This is required since it is possible for the vnode to be vgonel()'d while in ncl_upgrade_vnlock() when a forced dismount is in progress. Also, move the check for VI_DOOMED in ncl_vinvalbuf() down to after ncl_upgrade_vnlock() and replace the out of date comment for it. Approved by: kib (mentor)
* nfs_write() can use the recently introduced vfs_bio_set_valid() instead ofalc2009-05-311-1/+1
| | | | | | vfs_bio_set_validclean(), thereby avoiding the page queues lock. Garbage collect vfs_bio_set_validclean(). Nothing uses it any longer.
* Make *getpages()s' assertion on the state of each page's dirty bitsalc2009-05-281-1/+1
| | | | stricter.
* Merge r191964: Eliminate a case of unnecessary page queues locking.alc2009-05-171-4/+1
|
* Changed sys/fs/nfs_clbio.c in the same way Alan Cox changedrmacklem2009-05-161-3/+3
| | | | | | | sys/nfsclient/nfs_bio.c for r192134, so that the sources stay in sync. Approved by: kib (mentor)
* Apply a one line change to nfs_clbio.c (which is largely a copyrmacklem2009-05-131-1/+2
| | | | | | | of sys/nfsclient/nfs_bio.c) to track the change recently committed by acl for nfs_bio.c. Approved by: kib (mentor)
* Add the experimental nfs subtree to the kernel, that includesrmacklem2009-05-041-0/+1934
support for NFSv4 as well as NFSv2 and 3. It lives in 3 subdirs under sys/fs: nfs - functions that are common to the client and server nfsclient - a mutation of sys/nfsclient that call generic functions to do RPCs and handle state. As such, it retains the buffer cache handling characteristics and vnode semantics that are found in sys/nfsclient, for the most part. nfsserver - the server. It includes a DRC designed specifically for NFSv4, that is used instead of the generic DRC in sys/rpc. The build glue will be checked in later, so at this point, it consists of 3 new subdirs that should not affect kernel building. Approved by: kib (mentor)
OpenPOWER on IntegriCloud