[pnfs] o_direct and sessions
Dean Hildebrand
seattleplus at gmail.com
Wed May 7 13:44:15 EDT 2008
I realize that in 2.6.25, o_direct does not work as it doesn't have
support for sessions. It appears the problem is that setting up the
session no longer occurs in write_setup.
I tried adding .rpc_call_validate_args to the o_direct rpc_calls ops
like the following:
static const struct rpc_call_ops nfs_write_direct_ops = {
+#if defined(CONFIG_NFS_V4_1)
+ .rpc_call_validate_args = nfs_write_validate,
+#endif
.rpc_call_done = nfs_direct_write_result,
.rpc_release = nfs_direct_write_release,
};
But it didn't seem to work. The session still seems uninitialized when
the write occurs.
Do I need to do anything else to set up sessions?
Dean
More information about the pNFS
mailing list