[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/gfs-kernel/src/gfs ops_file.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	wcheng sourceware org	2007-05-24 22:34:54

Modified files:
	gfs-kernel/src/gfs: ops_file.c 

Log message:
	Apparently we can't remove these two methods from file operations table.
	Since gfs_read() had been changed to use do_sync_read() that requires to
	have aio defined in the file operations table.
	
	So vector read/write (implies NFSD) will be partially broken again after
	we put these two methods back.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_file.c.diff?cvsroot=cluster&r1=1.32&r2=1.33

--- cluster/gfs-kernel/src/gfs/ops_file.c	2007/05/04 14:49:35	1.32
+++ cluster/gfs-kernel/src/gfs/ops_file.c	2007/05/24 22:34:54	1.33
@@ -1750,6 +1750,8 @@
 	.llseek = gfs_llseek,
 	.read = gfs_read,
 	.write = gfs_write,
+        .aio_read = gfs_aio_read,
+        .aio_write = gfs_aio_write,
 	.ioctl = gfs_ioctl,
 	.mmap = gfs_mmap,
 	.open = gfs_open,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]