summaryrefslogtreecommitdiff
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-02-24 21:24:14 +0300
committerMike Marshall <hubcap@omnibond.com>2016-02-24 21:24:14 +0300
commitd37c0f307adb1d15712cb8d3cec23d81389c1937 (patch)
treebc6aaceba0a9ad6d3c396cb93b1cacc881958ad1 /fs/orangefs
parentc1223ca48baa867e9abc77fbb7f97500dc2a0cf8 (diff)
downloadlinux-d37c0f307adb1d15712cb8d3cec23d81389c1937.tar.xz
Orangefs: clean up orangefs_kernel_op_s comments.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/orangefs-kernel.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index 6290c24d8270..4ed64e555ca0 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -188,11 +188,12 @@ struct orangefs_kernel_op_s {
__u64 tag;
/*
- * Set uses_shared_memory to 1 if this operation uses shared memory.
- * If true, then a retry on the op must also get a new shared memory
- * buffer and re-populate it. Cancels don't care - it only matters
- * for service_operation() retry logics and cancels don't go through
- * it anymore.
+ * Set uses_shared_memory to non zero if this operation uses
+ * shared memory. If true, then a retry on the op must also
+ * get a new shared memory buffer and re-populate it.
+ * Cancels don't care - it only matters for service_operation()
+ * retry logics and cancels don't go through it anymore. It
+ * safely stays non-zero when we use it as slot_to_free.
*/
union {
int uses_shared_memory;
@@ -205,8 +206,6 @@ struct orangefs_kernel_op_s {
struct completion waitq;
spinlock_t lock;
- /* VFS aio fields */
-
int attempts;
struct list_head list;