diff options
| author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2004-08-23 12:02:36 -0400 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2004-08-23 12:02:36 -0400 |
| commit | b4a558fd4ebebc2441ba3a592b658cb50873f96a (patch) | |
| tree | a6d8e7cf63ebc05b70a81dfc7ea9ea5961d0ab76 /include/linux | |
| parent | fdd46e514eb85b8baed9e735e76f09dd252140a4 (diff) | |
RPC,NFSv4: NFSv4 operations that create or destroy state on the
server are not allowed to be interrupted as that may result in the
client and server disagreeing.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index be2e6ef3b793..6959ed0d69d8 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h @@ -113,6 +113,7 @@ typedef void (*rpc_action)(struct rpc_task *); #define RPC_TASK_DYNAMIC 0x0080 /* task was kmalloc'ed */ #define RPC_TASK_KILLED 0x0100 /* task was killed */ #define RPC_TASK_SOFT 0x0200 /* Use soft timeouts */ +#define RPC_TASK_NOINTR 0x0400 /* uninterruptible task */ #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) #define RPC_IS_SETUID(t) ((t)->tk_flags & RPC_TASK_SETUID) @@ -123,6 +124,7 @@ typedef void (*rpc_action)(struct rpc_task *); #define RPC_IS_ACTIVATED(t) ((t)->tk_active) #define RPC_DO_CALLBACK(t) ((t)->tk_callback != NULL) #define RPC_IS_SOFT(t) ((t)->tk_flags & RPC_TASK_SOFT) +#define RPC_TASK_UNINTERRUPTIBLE(t) ((t)->tk_flags & RPC_TASK_NOINTR) #define RPC_TASK_SLEEPING 0 #define RPC_TASK_RUNNING 1 |
