NFS: Remove use of the Big Kernel Lock around calls to rpc_execute.
Subsystems (2)
PATCH 2/4 NFS: Remove use of the Big Kernel Lock around calls to rpc_execute.
Remove use of the Big Kernel Lock around calls to rpc_execute.
### Diffstat output
direct.c | 6 ------ read.c | 2 -- write.c | 2 -- 3 files changed, 10 deletions(-)
fs/nfs/direct.c +0 -2
@@ -307,9 +307,7 @@ static ssize_t nfs_direct_read_schedule( data->task.tk_cookie = (unsigned long ) inode; -lock_kernel ();rpc_execute (&data->task); -unlock_kernel (); dfprintk(VFS, "NFS: %5u initiated direct read call (req %s/%Ld, %zu
bytes @ offset %Lu)\n",
data->task.tk_pid,
@@ -475,9 +473,7 @@ static void nfs_direct_commit_schedule(s
dprintk("NFS: %5u initiated commit call\n", data->task.tk_pid);
- lock_kernel();
rpc_execute(&data->task);
- unlock_kernel();
}
static void nfs_direct_write_complete(struct nfs_direct_req *dreq,
struct inode *inode)
@@ -637,9 +633,7 @@ static ssize_t nfs_direct_write_schedule
data->task.tk_priority = RPC_PRIORITY_NORMAL; data->task.tk_cookie = (unsigned long) inode;
- lock_kernel();
rpc_execute(&data->task);
- unlock_kernel();
dfprintk(VFS, "NFS: %5u initiated direct write call (req %s/%Ld, %zu
bytes @ offset %Lu)\n",
data->task.tk_pid,
fs/nfs/read.c +0 -2
@@ -316,9 +316,7 @@ static void nfs_execute_read(struct nfs_sigset_t oldset;rpc_clnt_sigmask (clnt, &oldset); -lock_kernel ();rpc_execute (&data->task); -unlock_kernel ();rpc_clnt_sigunmask (clnt, &oldset); }
fs/nfs/write.c +0 -2
@@ -977,9 +977,7 @@ static void nfs_execute_write(struct nfssigset_t oldset;rpc_clnt_sigmask (clnt, &oldset); -lock_kernel ();rpc_execute (&data->task); -unlock_kernel ();rpc_clnt_sigunmask (clnt, &oldset); }
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 2 lines · Frank Filz
Remove use of the Big Kernel Lock around calls to
rpc_execute.
This one had been seriously mangled by your emailer... I've been able to piece it together and apply, though...
Cheers,
Trond
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs